Skip to content

DjangoModelFormMutation ignores input_field_name option #1037

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"

Activity

  1. changed the title [-]DjangoModelFormMutation ignores options[/-] [+]DjangoModelFormMutation ignores input_field_name option[/+] on Sep 12, 2020
  2. added a commit that references this issue on May 18, 2021
    c73ce86
  3. synic commented on Sep 14, 2021

    @synic

    Bump. As far as I can tell, the only reference to input_field_name in the entire codebase is the one in the documentation. I don't think this feature is implemented whatsoever.

  4. odigity commented on Jun 17, 2022

    @odigity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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