Open
Description
https://spec.graphql.org/draft/#sec-Response-Format
If the request included execution, the response map must contain an entry with key data. The value of this entry is described in the “Data” section. If the request failed before execution due to a syntax error, missing information, or validation error, this entry must not be present.
So expecting data:null
to be present in the response is against the GraphQL specification.
This affects at least invalidEnumValue, unknownQuery, unknownField, createNewNullNamedHero, createNewUnnamedHero, invalidDataTypeValue, unknownMutation