Skip to content

Conversation

eprikazc
Copy link

Fixes: #1037

To get custom input_field_name working and at the same not totouch graphene.relay.mutation.ClientIDMutation, we do following:

  1. Change cls._meta.arguments to move field from default input field to custom one
  2. Override mutate method to rename custom input field back to input before calling super

This is my first contribution to django_graphene, please let me know if something should be changed/improved (perhaps tests are needed?)

@eprikazc eprikazc changed the title Update DjangoModelFormMutation to honor input_field_name Issue #1037: Update DjangoModelFormMutation to honor input_field_name May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DjangoModelFormMutation ignores input_field_name option
2 participants