We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8e6e43 commit 67981cbCopy full SHA for 67981cb
1 file changed
src/main/java/graphql/validation/TraversalContext.java
@@ -127,7 +127,8 @@ private void enterImpl(ObjectField objectField) {
127
GraphQLInputType inputType = null;
128
if (objectType instanceof GraphQLInputObjectType) {
129
GraphQLInputObjectField inputField = ((GraphQLInputObjectType) objectType).getField(objectField.getName());
130
- inputType = inputField.getType();
+ if (inputField != null)
131
+ inputType = inputField.getType();
132
}
133
addInputType(inputType);
134
0 commit comments