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

Update dependencies for non-beta graphene-django v3 release #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sjdemartini
Copy link
Collaborator

@sjdemartini sjdemartini commented Oct 19, 2022

graphene-django released a non-beta version of v3 in Sept 2022 (https://github.com/graphql-python/graphene-django/releases/tag/v3.0.0).

This updates the dev dependencies accordingly, to no longer point to the beta releases.

This PR is meant as demonstration only, since in its current form, graphene-django-optimizer unfortunately actually does not properly SQL-optimize nested fields (among other things), when used with the latest version of graphene-django. This can be seen in that several tests related to SQL optimization now fail after this version upgrade, such as test_should_select_nested_prefetch_and_select_related_fields. Now resolved with graphene-django 3.0.2.

@sjdemartini
Copy link
Collaborator Author

With the latest commit to bump to the newly-released graphene-django 3.0.2 https://github.com/graphql-python/graphene-django/releases/tag/v3.0.2 (which includes this graphql-python/graphene-django#1401), the performance-related tests are now passing.

The only test that still fails is the unrelated one mentioned here #83 (comment), for which that PR has added a workaround.

@sjdemartini sjdemartini changed the title WIP: Update dependencies for non-beta graphene-django v3 release Update dependencies for non-beta graphene-django v3 release May 3, 2023
@sjdemartini sjdemartini marked this pull request as ready for review May 3, 2023 14:06
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.

1 participant