graphql-hive / graphql-hive/console

consider using default arguments for `first` arguments

Open
#7,750 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
483
Forks
145
Avg merge
2d 5h
Merged PRs (30d)
65

Description

```suggestion
first: Int! = 20
```

Minor: I like to set the default in the SDL so that it's clearly visible to API consumer and so that although the argument doesnt need passed, youll always get a value in the resolver.

_Originally posted by @jdolle in https://github.com/graphql-hive/console/pull/7700#discussion_r2818975377_

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.