Skip to content

Allow omitted non-null arguments when a default value exists #601

Open
@ddebrunner

Description

@ddebrunner

Allow omission of a non-null argument type when a default value was specified.

E.g.

type Query {
    q(a:Int! = 0): String
}

should be able to be call q with no arguments.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @ddebrunner

      Issue actions

        Allow omitted non-null arguments when a default value exists · Issue #601 · graphql-go/graphql