-
Notifications
You must be signed in to change notification settings - Fork 228
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
Support for 3.0? #248
Comments
There is currently no plan to support it before a version of |
This just became a chicken-egg problem as the following was stated in graphql-python/graphene#1127 (comment)
|
Thanks for raising this. I don't see any reason for wait for dependent projects to migrate. I commented on the issue you linked to. |
If we were to update this package to support graphene v3, how would we handle the fact that graphene dropped support for dataloaders from the promise library? As far as I understand letting resolvers return promises wont work anymore, thus the following lines would be problematic: graphene-sqlalchemy/graphene_sqlalchemy/batching.py Lines 69 to 70 in 631513f
(Disclaimer: I never used the promise dataloaders, this is just what I learned from updating graphene-mongo earlier today). |
Just to let you folks know, I started working on an PR. Got it down to 8 failing tests, 5 of which are related to promises/dataloaders. |
@DoctorJohn Did you get any further on your PR? |
Upstream issue 1127 (linked above) to release version 3.0 will be 1 year old later this month. This issue (248) is now the only remaining project to make it to 3.0 and is blocking upstream AFAIK. @DoctorJohn which branch / Pull / Merge Request are you working out of? If it hasn't been formalized with a PR/MR please do so others can assist. If the remaining issues can be documented in the MR I am confident we the community can come together and figure them out. |
We at Emplocity are willing to collaborate on compatibility with graphene 3. We haven't contributed to the graphene ecosystem before, but we're heavy users of the 2.x versions of libraries and are quite familiar with them. I took a look at @DoctorJohn's PR and got the tests to run (not pass, that would be too much to ask ;) ). There appears to be a few points that need a decision:
Our WIP branch based on DoctorJohn's work is here, for anyone interested: https://github.com/Emplocity/graphene-sqlalchemy/commits/graphene-v3 |
The benchmarks fail due to BatchSQLAlchemyConnectionField. If I remove or comment out
all the benchmarks pass. This again relies on batching, which uses promises in 2.x and should be updated for aiodataloader. I'm not sure if that's within the scope of graphene-sqlalchemy. Though avoiding the N+1 problem would be desirable. |
We've managed to resolve all test failures except those related to batching and dataloader. The draft PR is here: #306. |
Hi, what's the status on getting this PR in? I've got a project which unfortunately requires graphene-sqlalchemy and graphene-pydantic. All packages involve require different graphene/pydantic/starlette versions since graphene-sqlalchemy doesn't support v3 yet |
Is this the only major |
@DoctorJohn @zsiciarz thank you for your work on the PRs to bring this library closer to v3, I have opened #317 and fixed all failing tests |
I've been working through some of the issues in this repo and have been using beta-v3 myself for some time. Are there any active blockers for a full v3 release known to you? |
See #348 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics referencing this issue. |
There's a new graphene alpha release targeting
graphql-core-next
. Just curious: are plans yet to support this, or will it be delayed until the graphene interface reaches a beta/rc/stable version?The text was updated successfully, but these errors were encountered: