Releases: apollographql/graphql-testing-library
Releases · apollographql/graphql-testing-library
v0.3.0
Minor Changes
-
#83
2cf1dcd
Thanks @alessbell! - Adds helper utilitiescreateDefaultResolvers
,createPossibleTypesMap
,generateEnumMocksFromSchema
andmockCustomScalars
for those who want to manually create and configure their mock schema.Also renames
createHandler
tocreateHandlerFromSchema
;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
Patch Changes
- #60
8896595
Thanks @alessbell! - Bump default "real" delay in Node processes to 20ms.
v0.2.2
Patch Changes
- #57
47bf677
Thanks @alessbell! - Adds support for MSW's delay API and infinite loading states
v0.2.1
Patch Changes
- #48
5bd7d96
Thanks @alessbell! - Bumps @graphql-tools/executor version to v1.2.7 for GraphQL 15 backward-compatibility.
v0.2.0
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
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.