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
What do you think about organizing graphql api as follows and importing everything from api folder?
api
|
+-- fragments # one file per fragment (default export) + index.js to export everything (named export)
|
+-- mutations # one file per mutation (default export) + index.js to export everything (named export)
|
+-- queries # one file per query (default export) + index.js to export everything (named export)
|
+-- subscriptions # one file per subscription (default export) + index.js to export everything (named export)
|
+-- index.js # entry point for the api, exports everything except fragments
Many thanks in advance.
Mauro
The text was updated successfully, but these errors were encountered:
What do you think about organizing graphql api as follows and importing everything from api folder?
Many thanks in advance.
Mauro
The text was updated successfully, but these errors were encountered: