Skip to content

Releases: apollographql/graphql-testing-library

v0.3.0

29 Aug 19:03
31e4341
Compare
Choose a tag to compare

Minor Changes

  • #83 2cf1dcd Thanks @alessbell! - Adds helper utilities createDefaultResolvers, createPossibleTypesMap, generateEnumMocksFromSchema and mockCustomScalars for those who want to manually create and configure their mock schema.

    Also renames createHandler to createHandlerFromSchema; createHandler now provides an API that will create the mock schema under the hood with default resolvers as well as enum and custom scalar mocks.

v0.2.3

17 Jul 15:54
37e4571
Compare
Choose a tag to compare

Patch Changes

v0.2.2

16 Jul 21:49
393db6d
Compare
Choose a tag to compare

Patch Changes

v0.2.1

24 Jun 19:07
7dc56e7
Compare
Choose a tag to compare

Patch Changes

  • #48 5bd7d96 Thanks @alessbell! - Bumps @graphql-tools/executor version to v1.2.7 for GraphQL 15 backward-compatibility.

v0.2.0

18 Jun 17:33
e18caf4
Compare
Choose a tag to compare

Minor Changes

  • #41 19212ce Thanks @alessbell! - Fix bundling issue caused by an unneeded files field in package.json, and adjust relative file paths.

v0.1.0

14 Jun 18:08
e4f021a
Compare
Choose a tag to compare

Initial release 🎉

Provides a createHandler function that generates a MSW handler for a given schema. This handler supports standard GraphQL queries and mutations, as well as incremental delivery of @defer/@stream payloads.