description
and deprecation_reason
parameters of enums values are not used when enums are created from TextChoicesField. Only the global enum description is used.
example:
@strawberry.enum(description="global description")
class TypeDeBien(models.TextChoices):
APPARTMENT = strawberry.enum_value(("App", "Appartment"), deprecation_reason="because", description="the best field !")
OTHER = "Oth", "Other"
the schema produced only include the global description but not the value description or the deprecation reason.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too