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
How is it possible to avoid interference between schemaOne and schemaTwo inside the ui projects?
If this query is defined in schemaOne.gql and schemaTwo.gql the ui projects that consume apiOne and apiTwo will be confused.
It will error on duplicate query definitions.
typequeryQueryOne {
...
}
What's the correct setup to enable multiple graphql apis in one repository.
Is there something like namespaces or distinguishing between projects?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We're using multiple apis and mulitple uis in one monorepo.
That's our file structure
How is it possible to avoid interference between schemaOne and schemaTwo inside the ui projects?
If this query is defined in schemaOne.gql and schemaTwo.gql the ui projects that consume apiOne and apiTwo will be confused.
It will error on duplicate query definitions.
What's the correct setup to enable multiple graphql apis in one repository.
Is there something like namespaces or distinguishing between projects?
Beta Was this translation helpful? Give feedback.
All reactions