Skip to content

@graphql-codegen/typescript-react-query@1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Dec 14:46
· 2733 commits to master since this release
ee648fc

Major Changes

  • b51712c: - Upgraded react-query to v3
    • Modified generated useQuery hooks to allow passing in of data type to be used with query data selectors
    • Reworked the mutations so that variables are passed in at mutate time and not at instantiation

Patch Changes

  • cda6ded: Make sure mutation variables are always optional

  • d98f507: Respect typesPrefix for generated types.

    Previously, the prefix was incorrectly applied to runtime hook names.

  • Updated dependencies [6429343]

  • Updated dependencies [fd5843a]

  • Updated dependencies [d75051f]

    • @graphql-codegen/visitor-plugin-common@1.17.22