Skip to content

What is a purpose of the nodeField? #125

Answered by AlecAivazis
SVilgelm asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @SVilgelm!

The node field and corresponding interface is used by the gateway to correlate entities in various backing services. Because of that, it can't really be removed from the gateway without replacing it with some other method of uniquely identifying an entity of a given type.

You can read more about the Node interface and the gateway's approach to schema federation here: https://itnext.io/a-guide-to-graphql-schema-federation-part-1-995b639ac035

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlecAivazis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants