Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Object Identification Specification - resolving Node interface #81

Open
saddis-r7 opened this issue Oct 12, 2020 · 2 comments
Open

Comments

@saddis-r7
Copy link

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?

@saddis-r7 saddis-r7 changed the title Relay Global Object Identification Specification - resolving Node interface Global Object Identification Specification - resolving Node interface Oct 12, 2020
@sachindshinde
Copy link
Contributor

@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.

@setchy
Copy link
Contributor

setchy commented Jan 19, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants