Skip to content

Input object parsing with number after underscore #1839

@RealSilo

Description

@RealSilo

I have an address_1 field in my Postgres DB schema for my address table. My GraphQL mutation has address1 field and the input type definition on the BE has argument :address_1, String, 'Address', required: true.

No error is raised but in the resolve method when I access the param I have it as address1 which is of course not ideal. Is this the intended behavior? If so, why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions