graphql-go / graphql-go/graphql

Allow omitted non-null arguments when a default value exists

Open
#601 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
10.1k
Forks
845
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.