ficsit-cli-flake/ficsit/queries/version.graphql
mircearoata 024b11b1e8
feat: use the pubgrub algorithm for solving versions (#40)
* 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
2023-12-06 05:01:49 +02:00

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
}
}
}