Resolver simply returns a single object with defined fields as properties in the return object
Mutation can return whatever value (e.g. could be boolean, string, return value of query result)
However, Query
should return the node/query/entity as a whole as a unit
Regardless of the client's query definition (e.g. marking the field as required), the resolver can define any arbitrary return value
undefined
when the query requires the field