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

HP-2266 | fix: handle updates profile's language and contact_method fields #475

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

charn
Copy link
Contributor

@charn charn commented Mar 11, 2024

In graphene 3 when Enum's are used as an input to a field the resolver now receives the Enum member directly rather than the value. This was a breaking change that wasn't taken into account when upgrading to the new graphene major version.

In graphene 3 when Enum's are used as an input to a field the
resolver now receives the Enum member directly rather than
the value. This was a breaking change that wasn't taken into
account when upgrading to the new graphene major version.

Refs: HP-2266, https://github.com/graphql-python/graphene/wiki/v3-release-notes#better-enum-support
@charn charn requested a review from a team March 11, 2024 07:35
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.49%. Comparing base (f505b24) to head (21e3c0b).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
- Coverage   95.56%   95.49%   -0.07%     
==========================================
  Files         207      207              
  Lines        8222     8263      +41     
  Branches      991      998       +7     
==========================================
+ Hits         7857     7891      +34     
- Misses        279      286       +7     
  Partials       86       86              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@tuomas777 tuomas777 left a comment

Choose a reason for hiding this comment

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

LGTM 👍 🐭

@charn charn merged commit c4e795b into main Mar 12, 2024
5 checks passed
@charn charn deleted the HP-2266-enum-fix branch March 12, 2024 13:17
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