graphql / graphql/graphql-js

Remove maybe types

Open
#2,633 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
20.3k
Forks
2.1k
Avg merge
44m
Merged PRs (30d)
6

Description

Optional arguments and parameters should not use the maybe type except where passing in a null value is semantically different from passing in an undefined value. So

```
operationName?: ?string
```

would become just

```
operationName?: string,
```

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.