-
Notifications
You must be signed in to change notification settings - Fork 1.2k
generate panic when @requires with a union is being used #3608
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
Comments
hmmm, not sure why yet, and if its works as expected in rutime, but with
generate works. |
with computed_requires it works as well; closing |
Reopening, because when adding __typename is panics:
|
Have you tried it with latest gqlgen and found it still occurs? There were a few changes that might fix your problem. If the problem still occurs with the latest version, do you have a public repository where I can attempt to re-create this problem? I'm not able to help much when I can't |
We have something like this in our schema
when we add
unionField
to requires thengo run github.com/99designs/gqlgen generate
panics:The text was updated successfully, but these errors were encountered: