ficsit-cli-flake/ficsit/queries/mod_versions_with_dependencies.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

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