Replies: 1 comment
-
Anyone? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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