graphql-hive / graphql-hive/envelop
plugin idea: abort parsing documents with literal values
Open
- Dominant language
- No language data
- Stars
- 827
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
Reject embedded literal values in GraphQL operations.
Reason: enforce best practices on API consumers
Reject:
```graphql
{
foo(value: "aaa")
}
```
Allow:
```graphql
query brrt($value: String) {
foo(value: $value)
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.