Skip to content

fix(validator): Reject non-null input cycles - #456

Open
romshark wants to merge 1 commit into
vektah:masterfrom
romshark:input-type-cycle-rejection
Open

fix(validator): Reject non-null input cycles#456
romshark wants to merge 1 commit into
vektah:masterfrom
romshark:input-type-cycle-rejection

Conversation

@romshark

@romshark romshark commented Aug 6, 2026

Copy link
Copy Markdown

Reject input object cycles of non-null fields, according to: https://spec.graphql.org/October2021/#sec-Input-Objects.Circular-References

Schemas containing a non-null cycle now correctly fail validation.

I have:

  • Added tests covering the bug / feature
  • Updated any relevant documentation

Fixes #239

Reject input object cycles of non-null fields, according to:
https://spec.graphql.org/October2021/#sec-Input-Objects.Circular-References

Schemas containing a non-null cycle now correctly fail validation.
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 87.489% (+0.1%) from 87.366% — romshark:input-type-cycle-rejection into vektah:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema validator accepts circular input object references

2 participants