graphql-python / graphql-python/graphene-django

Add a feature to be able to add additional arguments in DjangoModelFormMutation and DjangoFormMutation

Open
#1,110 6 comments 8 reactions 0 assignees View on GitHub
✨enhancement
Dominant language
Python
Stars
4.4k
Forks
760
PR merge metrics
No merged PRs in 30d

Description

**Describe the solution you'd like**
DjangoModelFormMutation only reads forms fields. But I dont have the option to override a form field to change its type. Sometimes a user may have a complex object stored in database and he/she cleans and re-creates the object on retrieval. GraphQL has the ability to predefine the types and create, send or receive complex objects. It would be a good feature to override or add additional field in the inputs.

**Describe alternatives you've considered**
Django forms does not support lots of different data types which GraphQL does. So as a backend developer, I am limited.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.