Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(typescript-resolvers): use import type when importing from graphql #4437

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Jul 27, 2020

Another one for #3695. For my own use case I believe I'm just missing react-apollo. However, I'm not sure when it's safe to do import type and when not to there - help would be appreciated 🙂 This is however enough for the stuff we have server side 🎉

Verified

This commit was signed with the committer’s verified signature.
renaudhartert-db Renaud Hartert
…phql
@dotansimha
Copy link
Owner

Great :) We are close to make it compatible with all plugins ;) Thanks @SimenB !

@dotansimha dotansimha merged commit 8d8088d into dotansimha:master Jul 28, 2020
@theguild-bot
Copy link
Collaborator

The latest changes of this PR are available as alpha in npm: 1.17.7-alpha-8d8088d5.0

Quickly update your package.json by running:

npx match-version @graphql-codegen 1.17.7-alpha-8d8088d5.0

@SimenB SimenB deleted the import-type-resolver branch July 28, 2020 14:52
mjbcopland pushed a commit to mjbcopland/graphql-code-generator that referenced this pull request Jul 30, 2020

Verified

This commit was signed with the committer’s verified signature.
renaudhartert-db Renaud Hartert
…mha#4355)

Fixing angular tests to await all typescript validation calls
Fixing angular test to use correct mutation/subscription gql calls.

Co-authored-by: asaf <asaf@truenorthsys.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants