graphql-python / graphql-python/graphene-django
Make graphene.Decimal consistent to models.DecimalField
Open
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 760
- PR merge metrics
- No merged PRs in 30d
Description
Django's [DecimalField](https://docs.djangoproject.com/en/3.0/ref/models/fields/#decimalfield) `class DecimalField(max_digits=None, decimal_places=None, **options)` with `max_digits` and `decimal_places` is super useful. `graphene.Decimal` seems not to support definition of places before and after the point yet. What about making `graphene.Decimal` more consistent with `DecimalField`?
Contributor guide
Assessment
This issue has not been assessed yet.