Releases: rubengrill/apollo-typed-documents
Releases · rubengrill/apollo-typed-documents
Release list
v2.0.1
- Allow reserved keyword arguments (#57)
Thank you for your contribution @ccblaisdell - Update dev dependencies (#58)
v2.0.0
v1.1.0
v1.0.0
- Improve docs
- Add
create-react-appexamples - Support GraphQL interfaces
- Support GraphQL union types
- Support fragments and inline fragments
- Support
__typenameselection - 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: [] } });