|
const isNullableVariable = definition.type.kind !== Kind.NON_NULL_TYPE; |
I've hit a TypeError being thrown from this line when testing against some invalid queries.
I'm not using this library directly, but instead via https://github.com/apollographql/apollo-server (4.12.2), so maybe I should report it there, let me know if so. It's not really easy to provide a reproducer at this level either, so maybe that's another signal...

graphql-js/src/validation/rules/ValuesOfCorrectTypeRule.ts
Line 219 in c18e9f6
I've hit a
TypeErrorbeing thrown from this line when testing against some invalid queries.I'm not using this library directly, but instead via https://github.com/apollographql/apollo-server (4.12.2), so maybe I should report it there, let me know if so. It's not really easy to provide a reproducer at this level either, so maybe that's another signal...