graphql-code-generator
graphql-code-generator copied to clipboard
(react-query)
🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Related # (issue)
This exposes both the query context to the fetcher and exposes a fetcher when using hooks.
Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take action on it as appropriate
How Has This Been Tested?
In our environment on our project and the unit tests
Test Environment:
- OS: windows
-
@graphql-codegen/...
: - NodeJS: 14/16
Checklist:
- [x] I have followed the CONTRIBUTING doc and the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream modules
Further comments
I had to put the two issues together as we needed them for our project for work to be submitted in a couple of weeks.
applys to this issue https://github.com/dotansimha/graphql-code-generator/issues/7903
🦋 Changeset detected
Latest commit: 0ca555316d9f57d446f2fcfc2f6fe809c8af9a00
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
Name | Type |
---|---|
@graphql-codegen/typescript-react-query | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@jrwpatterson is attempting to deploy a commit to the The Guild Team on Vercel.
A member of the Team first needs to authorize it.
Deployment failed with the following error:
The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.
@jrwpatterson, could you please rebase your PR so we can start reviewing it?
Thanks!
@charlypoly had to reset it and start again... should be good now.. .
ps sorry for the delay!
@charlypoly how does this look?
Hi!
All community plugins (see list below) have been moved to a new dotansimha/graphql-code-generator-community
.
Community plugins:
-
@graphql-codegen/typescript-react-apollo
-
@graphql-codegen/typescript-graphql-request
-
@graphql-codegen/typescript-apollo-angular
-
@graphql-codegen/typescript-apollo-client-helpers
-
@graphql-codegen/typescript-react-query
-
@graphql-codegen/typescript-urql
-
@graphql-codegen/named-operations-object
-
@graphql-codegen/urql-introspection
-
@graphql-codegen/flow-resolvers
-
@graphql-codegen/typescript-vue-apollo
-
@graphql-codegen/typescript-rtk-query
-
@graphql-codegen/flow-operations
-
@graphql-codegen/typescript-msw
-
@graphql-codegen/typescript-mongodb
-
@graphql-codegen/typescript-type-graphql
-
@graphql-codegen/jsdoc
-
@graphql-codegen/typescript-vue-urql
-
@graphql-codegen/kotlin
-
@graphql-codegen/typescript-vue-apollo-smart-ops
-
@graphql-codegen/java
-
@graphql-codegen/c-sharp-operations
-
@graphql-codegen/hasura-allow-list
-
@graphql-codegen/typescript-stencil-apollo
-
@graphql-codegen/relay-operation-optimizer
-
@graphql-codegen/typescript-oclif
-
@graphql-codegen/java-resolvers
-
@graphql-codegen/java-apollo-android
-
@graphql-codegen/flutter-freezed
Please move your PR by following these steps:
From your current PR branch:
- Fork the https://github.com/dotansimha/graphql-code-generator-community repository
- git remote add codegen-community <GIT_URL_OF_YOUR_COMMUNITY_REPO_FORK>
- git fetch codegen-community
- git push codegen-community
Open the PR on dotansimha/graphql-code-generator-community
and close this PR.
Thank you!
Closing this for now.