github ardatan/graphql-tools @graphql-tools/mock@8.0.0

latest releases: release-1715723999338, @graphql-tools/graphql-tag-pluck@8.3.1, @graphql-tools/git-loader@8.0.6...
3 years ago

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.

Don't miss a new graphql-tools release

NewReleases is sending notifications on new releases.