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

Cast translated description for DecimalField #1255

Merged
merged 2 commits into from
Sep 22, 2022

Conversation

andrei-datcu
Copy link
Contributor

#976 casts all the description fields to strings to prevent schema printing from failing whenever the description is a lazy translated string. The DecimalField however got in after the v3 merge and it currently misses the cast.

graphql-python#976 casts all the description fields to strings to prevent schema printing from failing whenever the description is a lazy translated string. The `DecimalField` however got in after the v3 merge and it currently misses the cast.
@firaskafri firaskafri self-requested a review September 22, 2022 17:25
@tcleonard tcleonard merged commit 56892d7 into graphql-python:main Sep 22, 2022
superlevure pushed a commit to loft-orbital/graphene-django that referenced this pull request Jul 19, 2023
* Cast translated description for DecimalField

graphql-python#976 casts all the description fields to strings to prevent schema printing from failing whenever the description is a lazy translated string. The `DecimalField` however got in after the v3 merge and it currently misses the cast.

* Fix row size
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