Skip to content

DjangoModelFormMutation ignores input_field_name option #1037

Open
@zbyte64

Description

@zbyte64
  • What is the current behavior?

DjangoModelFormMutation has the option to change the input name of the mutation, but it is always set to "input" regardless of value. Like so:

class SendMessageMutation(DjangoModelFormMutation):
    message = relay.Node.Field(MessageType)

    class Meta:
        form_class = SendMessageForm
        input_field_name = "message"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions