We are on golang version 1.22.2 and have github.com/99designs/gqlgen v0.17.45 on our go.mod file.
go get -u commands fails suddenly because it is trying to fetch v0.17.50 instead of pinned v.0.17.45.
error log:
go get -u
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
What did you expect?
Nothing changed on our side, so not sure why it is doing what I am seeing.
Minimal graphql.schema and models to reproduce
Use go: github.com/99designs/gqlgen@v0.17.45 with golang version 1.22.2 . try calling get get -u
versions
go run github.com/99designs/gqlgen version? v0.17.45
What happened?
We are on golang version 1.22.2 and have github.com/99designs/gqlgen v0.17.45 on our go.mod file.
go get -u
commands fails suddenly because it is trying to fetch v0.17.50 instead of pinned v.0.17.45.error log: go get -u go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2) go: github.com/99designs/gqlgen@v0.17.50 requires go >= 1.22.5 (running go 1.22.2)
What did you expect?
Nothing changed on our side, so not sure why it is doing what I am seeing.
Minimal graphql.schema and models to reproduce
Use go: github.com/99designs/gqlgen@v0.17.45 with golang version 1.22.2 . try calling get get -u
versions
go run github.com/99designs/gqlgen version
? v0.17.45go version
? 1.22.2