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
I'm curious if there's a codegen example available that shows how to have a React application talk to multiple GraphQL endpoints using the URQL library? I'm currently creating custom context with the alternate URL and pass that into each query/mutation for every component that uses queries from a particular server:
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
-
I'm curious if there's a codegen example available that shows how to have a React application talk to multiple GraphQL endpoints using the URQL library? I'm currently creating custom context with the alternate URL and pass that into each query/mutation for every component that uses queries from a particular server:
It would be nice if codegen would take care of this for me somehow.
Is there a way to do something like this, currently? If so, any pointers would be appreciated!
Thanks!
David
Beta Was this translation helpful? Give feedback.
All reactions