-
Let's say I have two subgraphs:
Each subgraph must have a How can I do that? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
2snEM6
Sep 1, 2023
Replies: 1 comment 10 replies
-
The subgraph plugin is exclusively for creating subsets of your graph. You would only define 1 login field and include it as part of both subgraphs. The subgraph plugin pre-dates apollos use of the term subgraph for federation, and the meaning there is a bit different than how it was used in Pothos. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So what I did is make sure the schema is built before reusing the
builder
again. Then, creating a function that does this: