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

Support GraphQL-core 3.3 #577

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nrbnlulu
Copy link
Member

@nrbnlulu nrbnlulu commented Jul 7, 2024

Description

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Copy link
Member

@bellini666 bellini666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Ping me on discord if you need help on fixing the issues on the broken tests

@@ -45,6 +45,9 @@ jobs:
django-version:
- 4.2.*
- 5.0.*
graphql-core-version:
- 3.3.0a5
- 3.2.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 3.2.*, just to make sure we get the latest patch release, like we do for django?

Not sure if 3.3.* would work as it is a pre-release, and usually those have to be totally hardcoded

try:
from graphql.execution.collect_fields import collect_sub_fields
except ImportError:
from graphql.execution.collect_fields import collect_subfields as collect_sub_fields
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably will need to type ignore this line

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.

3 participants