Open remorses opened 4 years ago
This problem can be temporarily be fixed using interface{}
types inside returned structs, it seems that graphql-go
treats the interface{}
nil differently from others
Maybe is the same behaviour I have just described here https://github.com/graphql-go/graphql/issues/553 ?
The following example uses the schema below
The query should simply return
{"product": {"obj": null}}
, instead it gives the error