Open nurdism opened 5 years ago
Just tried this out. Doesn't seem to be due to the duplicate field. It seems like there is an issue with how explorer is dealing with nullable and non-nullable fields. This works if I set message
as just String
.
Have raised an issue about this at https://github.com/OneGraph/graphiql-explorer/issues/26 as we don't maintain the explorer
This is an issue with graphiql-explorer but I'm not familiar with the current implementation of it so I thought I'd leave a report here. (This is for remote schemas)
an example
in the
graphiql-explorer
when you select the Querycurrent_user
it will give you the list in the union,User
will select and you can see theUser
object structure, but if you tryIsSuspended
andGenericError
it will not show you the object structure. I'm assuming its due to sharingmessage
key.