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 am using next.js with @apollo/client and @nexus/schema at the moment. To avoid unnecessary http calls when I am on the server, I was able to create an isomorphic type of apollo link like so:
Currently, I am in the process of moving to the Nexus Framework. I wonder, how I can still manage to feed the SchemaLink with a schema argument since I no longer have the control to use makeSchema.
Any idea how I could get Apollo SchemaLink and Nexus Framework work together seamlessly?
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
-
Hi there,
I am using
next.js
with@apollo/client
and@nexus/schema
at the moment. To avoid unnecessary http calls when I am on the server, I was able to create an isomorphic type of apollo link like so:Currently, I am in the process of moving to the Nexus Framework. I wonder, how I can still manage to feed the SchemaLink with a schema argument since I no longer have the control to use
makeSchema
.Any idea how I could get Apollo SchemaLink and Nexus Framework work together seamlessly?
Beta Was this translation helpful? Give feedback.
All reactions