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've been using the mocking feature of graphql tools to dynamically generate response to queries based on the schema. Overrall it works wonderfully.
To have some control over the data I set some values in the store
store.set('Query', 'ROOT', {queryName: {data}});
This works, my issues is how to setup the store for queries that take parameters :/ I've looked in the code and am not sure how to do it or even if it's currently possible. Any advice?
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've been using the mocking feature of graphql tools to dynamically generate response to queries based on the schema. Overrall it works wonderfully.
To have some control over the data I set some values in the store
This works, my issues is how to setup the store for queries that take parameters :/ I've looked in the code and am not sure how to do it or even if it's currently possible. Any advice?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions