You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validation allows extensions to redefine field defined in base type #1898
Describe the bug
GraphQL Java's validation allows an extension type to define a field that has already been defined in the base class, if the field has the same type and arguments in both places.
To Reproduce
In this example, the field name is defined in the base type Human and then defined again in the extension type. This should generate a validation error, but it doesn't.
schema {
query: Human
}
type Human {
id: ID!
name: String!
}
extend type Human {
name: String!
friends: [String]
}
Activity
1898: Fix field redefinition check in extensions
1898: Fix field redefinition check in extensions