You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My implementing service is failing to resolve the Node interface and every concrete type that implements Node. How can I resolve this type without a class implementation?
The text was updated successfully, but these errors were encountered:
saddis-r7
changed the title
Relay Global Object Identification Specification - resolving Node interface
Global Object Identification Specification - resolving Node interface
Oct 12, 2020
@saddis-r7
It sounds like you have a GraphQL interface type Node and some GraphQL object types that implement Node. To resolve this type, you'll need to provide a graphql-java TypeResolver when constructing the schema. See this section in the graphql-java docs for an example.
I'm using graphql-java-kickstart and from memory to support federation over my relay connection types I had to explicitly define the types in the schema SDL (which otherwise is not required for non federated services)
My implementing service is failing to resolve the Node interface and every concrete type that implements Node. How can I resolve this type without a class implementation?
The text was updated successfully, but these errors were encountered: