graphql / graphql/graphql-js

`ValuesOfCorrectTypeRule` missing in `specifiedSDLRules`

Open
#3,222 1 comment 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

`specifiedSDLRules`, which is used in `buildASTSchema`, does not include the `ValuesOfCorrectTypeRule` validation rule. I think this rule is needed to e.g. reject `true` where an object literal would be expected on a directive argument.

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.