-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gqlparser/v2 2.2.0 Incompatability #1516
Comments
Hello, if you update gqlgen to the latest master and remove prelude.resolvers.go does the problem persist? |
@lwc Just tested that, no the problem does not persist, works as expected. |
I had the same issue. I reverted to 2.1.0 and it works. I 'll hold off updating this dep for a while until things settle down. |
go get github.com/vektah/gqlparser/[email protected] and remove file prelude.resolvers.go, it's well! |
Build fails with current master:
|
@vektah would you follow up? |
#1543 seems related |
is there a fix for this besides reverting to 2.1.0? |
I still get the same issue as of now, when using gqlparser/v2 v2.2.0, specifically using https://github.com/Yamashou/gqlgenc if it's any relevant |
Hi!
You need downgrade v2.1.0, good luck!
…On Tue, 17 Aug 2021 at 19:34 Araly ***@***.***> wrote:
I still get the same issue as of now, when using gqlparser/v2 v2.2.0,
specifically using https://github.com/Yamashou/gqlgenc if it's any
relevant
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1516 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKLXBLL5DZFHT5APIDQHI6DT5JJM7ANCNFSM426ENSCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Fixed in v0.14.0 |
What happened?
Updated
github.com/vektah/gqlparser/v2 v2.1.0
togithub.com/vektah/gqlparser/v2 v2.2.0
and the generate command started spitting out garbage:Downgrading to v2.1.0 and removing the new
prelude.resolvers.go
file worked fine.What did you expect?
Generate command to work.
Minimal graphql.schema and models to reproduce
Any
versions
gqlgen version
: 0.13.0go version
: 1.16.3The text was updated successfully, but these errors were encountered: