Revisiting https://github.com/graphql/graphql-js/issues/2764 I'm not quite sure the reference implementation has a bug, see failing test when implementing the fix as advised: https://github.com/graphql/graphql-js/pull/4293