|
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...
