-
-
Notifications
You must be signed in to change notification settings - Fork 678
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
GraphQL.js v16 support #1100
Comments
New major version 16 is released few days ago, but other dependencies aren't ready for the upgrade By the words of a main maintainer of type-graphql package that we use, support for GraphQL version 16 "won't happen soon, as all the other GraphQL ecosystem tools need to support v16 too." MichalLytek/type-graphql#1100
Support for GQL v16:TypeGraphQL dependencies: ✅ graphql-query-complexity TypeGraphQL devDependencies: ✅ @apollo/federation Others: ❌ graphql-parse-resolve-info (graphile/graphile-engine#773) Am I missing anything? |
Are there any alternate packages that can be used in stead of |
The |
This comment has been minimized.
This comment has been minimized.
@MichalLytek would be nice to include this in version |
It's time to have support for GQL v16 it should be fine |
I agree it's not a dependency but at least to my knowledge there aren't any other (good?) packages out there which are v16 compatible that will let us know which fields were requested by the client. If I have missed any then please do list them, it would be good to have an alternatives list. For that it's worth, the way I use Of course Michal has the final say in whether he wants to support v16 regardless of |
@renaldodev It's not the time yet. |
Many of use are not using Apollo, hence this is not an issue for some of us |
@MichalLytek I'd like to track these, would you mind listing them? |
…is resolved and updated
This comment was marked as spam.
This comment was marked as spam.
This is the blocking issue, seems the groundwork is done graphile/graphile-engine#764 (comment) |
@sachaw how is that issue blocking this repo from adopting gql 16? |
As far as I'm aware, this repo depends on: |
Why do you think that? |
I haven't looked at the source, but is that now what you meant by your original comment? #1100 (comment) I'd be happy if that weren't the case. |
That was just a list of GraphQL libraries that TypeGraphQL developers might use. TypeGraphQL itself only depends on Personally, I do use Apologies for the confusion. |
I am suprised it takes this long. Work on https://github.com/MichalLytek/type-graphql/tree/v16 is very close to being production ready IMHO. Not sure why it was not finalized since Jan 18. |
I was unable to run apollo federation examples because of apollo not supporting v16. Did they release a new version yet? I will try to finish this v16 upgrade and the rest of v2.0 preparation when I have time (which I don't have currently 😞). |
in the meantime I have forked the project https://www.npmjs.com/package/type-graphql-v2-fork as the tech is great but it went unmaintained for too long and all my tries to help went nowhere 🤷 |
@tomasstrejcek Michal just had a presentation last weekend at a conference in Poland about TGL. He also got new sponsors (myself included, but as a donor). I doubt he has any plans to abandon it. Maybe it's possible to reach out to him as he might accept you as a contributor to the project. It would definitely be beneficial to the community. |
I think @Cry0nicS is right, we shouldn't divide our community, which is quite active here. I know it seems abandoned in some parts, but you are free to create PRs and sponsor the project to keep it alive. It's great to hear that @MichalLytek received new sponsors which will definitely help him concentrate more on TGL in the future :) |
I second this! If theres something I can do to help please share. Also I find this issue actually relevant, is it possible to pin it on top of other issues in the issues section? Thanks so much for the hard work! |
@MichalLytek can you elaborate on how to contribute to make things go faster? I feel like it's the most asked question around here and there are many people out there loving type-graphql that can and want to help. |
For those interested, this WIP PR appears to be solving this - #1331 |
still having these errors 😢 |
Still working with fixed versions bc of this is kind of sad... e.g. in my setup with graphql 15.x, fastify 3.x, mercurius 8.x etc... Hopefully the release will come soon! |
Same here, Oliver!
On Tue, Jun 14, 2022 at 1:30 PM Olivier Refalo ***@***.***> wrote:
Today Fastity 4 was released.
my package deps go as:
Fastify 4 -> requires -> Mercurius 10 - requires -> graphql 16
-> all fine, but the type-graphql runtime will bark.
Dead end. can't upgrade.
—
Reply to this email directly, view it on GitHub
<#1100 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEZQZUGCM22BZYEIKNDAOETVPB3OFANCNFSM5HBBTU7Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Best Regards,
Jesse Rubin
|
I will try to publish the current state of work as a |
@MichalLytek much love! |
How can we opt-in to test the package with GraphQL v16 support? |
|
You can now try |
@MichalLytek just curious if you know how the new beta will play with |
There's no breaking changes in TypeGraphQL API, so apart from warning about deps it should just work 😉 |
I just upgraded to graphql v16 and type-graphql 2.0.0.-beta.1, and all my test cases passed :-) |
@MichalLytek Thanks a lot for supporting v16! 👍 |
@MichalLytek thanks a lot for supporting V16, also there is the v17 coming in a few months which already has some breaking changes and deprecation mentions. I'd keep an eye on those for possible backward compatibility 😉 |
Thanks a lot, great work! 👍 |
Just to confirm that it works great - thank you, glad to be a sponsor sample code can be found here (updated to graphql 16): |
Any plan on merging this soon? |
Thank you so much for supporting v16, now I can proceed to upgrade to appollo server 4 |
Recently, v16 release of
graphql-js
has been published:https://github.com/graphql/graphql-js/releases/tag/v16.0.0
It contains a lot of breaking changes, so TypeGraphQL needs to be upgraded in order to support it.
For now, please stick to the 15.x version as described in peer-depdencencies and what the runtime check says:
This thread will be updated with the investigation about that.
It won't happen soon, as all the other GraphQL ecosystem tools need to support
v16
too.The text was updated successfully, but these errors were encountered: