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
15 lines
No EOL
286 B
GraphQL
15 lines
No EOL
286 B
GraphQL
# @genqlient(omitempty: true)
|
|
query Version (
|
|
$modId: String!,
|
|
$version: String!
|
|
) {
|
|
mod: getModByIdOrReference(modIdOrReference: $modId) {
|
|
id
|
|
version(version: $version) {
|
|
id
|
|
version
|
|
link
|
|
hash
|
|
}
|
|
}
|
|
} |