-
Notifications
You must be signed in to change notification settings - Fork 528
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
Duplicate fields on type are currently allowed #1133
Comments
This can commonly occur when sharing schema types between multiple graphs when using |
maartenvanvliet
added a commit
to maartenvanvliet/absinthe
that referenced
this issue
Dec 28, 2021
Fixes absinthe-graphql#1133 Also fixes absinthe-graphql#1049 as the schema's won't compile anymore, so the warning no longer happens
maartenvanvliet
added a commit
to maartenvanvliet/absinthe
that referenced
this issue
Dec 28, 2021
Fixes absinthe-graphql#1133 Also fixes absinthe-graphql#1049 as the schema's won't compile anymore, so the warning no longer happens
benwilson512
pushed a commit
that referenced
this issue
Jan 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Expected behavior
Absinthe fails to compile my schema and gives an error message indicating that the same field is being defined more than once on a type
Actual behavior
schema compiles without issue
Relevant Schema/Middleware Code
This results in a malformed SDL file generated from the
mix absinthe.schema.sdl
task which is rejected by most tooling e.g. schema registries.The text was updated successfully, but these errors were encountered: