@graphql-tools/mock@8.0.0
github-actions
released this
10 Feb 17:17
·
3203 commits
to master
since this release
Major Changes
-
2492665: Reworked to add state-full behavior to the library:
- Breaking: mock functions does not receive resolver arguments anymore and can't return promise. Use
resolvers
option instead. - Breaking: when preserved, resolvers will not receive plain object returned by mock anymore as source but rather a
Ref
that can be used to query the store. - Deprecated: MockList is deprecated. Use plain arrays instead.
See migration guide.
- Breaking: mock functions does not receive resolver arguments anymore and can't return promise. Use