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
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
with
"@apollo/react-hooks": "3.1.4"
, addMocksToSchema no longer works. The resulting schema won't return any dataIntended outcome:
using
addMocksToSchema
should make the apollo client returning mock dataActual outcome:
it does not return any mock data, data is null always
How to reproduce the issue:
use these versions
"@graphql-tools/mock": "^6.0.12",
and
"@apollo/react-hooks": "^3.1.4",
Version
additional info
it works with version 3.1.3. so fixing the version is the current resolution.
version 3.1.4 and above are lacking a changelog, so its hard to say if there is a reason for this bug.
The text was updated successfully, but these errors were encountered: