Status of support for GraphQL Union types


Reading around on this board, it appears that y’all are planning to support Union Types.

Running Dgraph.latest, when we

curl -H "Content-Type: application/json" -X POST --data-binary '@schema-local.graphql'

we get

{"errors":[{"message":"resolving updateGQLSchema failed because input:1: You can't add union definitions. Only type, interface, input and enums are allowed in initial schema.\n (Locations: [{Line: 3, Column: 4}])","extensions":{"code":"Error"}}]

Curious if y’all know roughly by when Dgraph GraphQL will support Union types?

Thank you

Follow this for the latest:

1 Like