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 would like that when the request is made for a record that doesn't exist that an error gets returned, not the Faker-provided data (e.g. Hello World, random IDs, etc.).
For example, if I have a code like this in my resolvers mockStore.get('Author', id) and the ID doesn't exist in the store, it will respond with faker data, indicating everything is fine when it is not. A request was made towards a non-existant record.
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 would like that when the request is made for a record that doesn't exist that an error gets returned, not the Faker-provided data (e.g. Hello World, random IDs, etc.).
For example, if I have a code like this in my resolvers
mockStore.get('Author', id)
and the ID doesn't exist in the store, it will respond with faker data, indicating everything is fine when it is not. A request was made towards a non-existant record.@ardatan ? @Urigo ?
Beta Was this translation helpful? Give feedback.
All reactions