Releases: rubengrill/apollo-typed-documents
Releases · rubengrill/apollo-typed-documents
v2.0.1
v2.0.0
v1.1.0
v1.0.0
- Improve docs
- Add
create-react-app
examples - Support GraphQL interfaces
- Support GraphQL union types
- Support fragments and inline fragments
- Support
__typename
selection - Support alias in selections
- Support custom scalar types
- Support errors
- Add typed version of
useSubscription
Backward incompatible change:
To support errors, the argument data
changed to result
which can contain both data
and errors
:
// old
apolloMock(documentNode, variables, { authors: [] });
// new
apolloMock(documentNode, variables, { data: { authors: [] } });