graphql-hive / graphql-hive/envelop

plugin idea: abort parsing documents with literal values

Open
#1,608 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.