-
Notifications
You must be signed in to change notification settings - Fork 23
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
v3 #138
Conversation
This pull request introduces 1 alert when merging e8c0f4f into 2bcbfc7 - view on LGTM.com new alerts:
|
This pull request introduces 3 alerts when merging c8aad18 into 7ee59cd - view on LGTM.com new alerts:
|
Gatsby uses GraphQL 14 and the graphql-tools is compatible with both v14 and v15. Fixes #120 See also gatsbyjs/gatsby#25906
This pull request introduces 3 alerts when merging bbde5d7 into 223d73b - view on LGTM.com new alerts:
|
This pull request introduces 3 alerts when merging 3e08ca9 into 223d73b - view on LGTM.com new alerts:
|
I took a long break from working on this project. I still have a lot of ideas and things to improve, but I'm losing focus. (even though I'm still actively using this plugin for my gatsby projects) Maybe we need to get another maintainer after this work. please contact me if anyone has an interest. |
@LekoArts VSCode extension's feature should work with valid graphql-config, or if invalid, it must be reported by it. The It would be a good idea to keep valid settings together in examples. |
The plugin intentionally creates types only for named queries. It requires using a globally unique query name for maintaining the correct colocation pattern and is also a limitation of both Gatsby and GraphQL Codegen. When it is not given, Gatsby uses the pathname to make it internally, but this is inappropriate as a type name and can be easily broken by moving files. |
@LekoArts I've tried it, but it seems that GitHub has already given up tracking changes here 😅 The code has been rewritten almost from scratch, so it will be better to walk around the code directly in the branch than to read the changes. |
I've checked that this works well in production and doesn't cause any issues on Gatsby Cloud (Fixes #109) However, it seems that some documents included within the theme are not generated properly. And |
Is it possible to add the I'd file a new pull request, but the change is so small that it might be easier to just add it to this pull request. |
This pull request introduces 2 alerts when merging 42650bd into 5f78b2a - view on LGTM.com new alerts:
|
Merged to main |
https://github.com/cometkim/gatsby-plugin-typegen/milestone/3
Todos
SET_SCHEMA
andSET_GRAPHQL_DEFINITIONS
)Issues