graphql-go-tools icon indicating copy to clipboard operation
graphql-go-tools copied to clipboard

null response when using _Any scalar type

Open newerbie opened this issue 3 years ago • 1 comments

Hi, dear team. I defined a custom scalar type _Any and used it as follows: `scalar _Any

type query { configs: _Any }`

But it returns a null response without error when querying the operation configs. What I expect is the response with specific content to be returned. Could you please give me some instructions? Thank you.

newerbie avatar Sep 28 '22 11:09 newerbie

Hi,

Could you try naming it without a leading underscore?

Aenimus avatar Oct 20 '22 14:10 Aenimus