024b11b1e8
* refactor: separate resolving tests * feat: use pubgrub to resolve dependencies * feat: show friendly mod name in error message * feat: show single version in error message when only one matches * ci: update go version to match go.mod * feat: format FactoryGame incompatibility and term * chore: fetch all necessary data of the version at once * chore: upgrade pubgrub * chore: upgrade pubgrub * ci: update golangci-lint version for go 1.21 * chore: lint * chore: update go version in readme
19 lines
No EOL
406 B
GraphQL
19 lines
No EOL
406 B
GraphQL
# @genqlient(omitempty: true)
|
|
query ModVersionsWithDependencies (
|
|
$modId: String!,
|
|
) {
|
|
mod: getModByIdOrReference(modIdOrReference: $modId) {
|
|
id
|
|
versions (filter: { limit: 100 }) {
|
|
id
|
|
version
|
|
link
|
|
hash
|
|
dependencies {
|
|
mod_id
|
|
condition
|
|
optional
|
|
}
|
|
}
|
|
}
|
|
} |