gqlparser icon indicating copy to clipboard operation
gqlparser copied to clipboard

Invalid but legal cyclic dependency

Open romshark opened this issue 3 years ago • 0 comments

https://go.dev/play/p/OpXdRkWugrA

In the example above I demonstrate a violation of the GraphQL spec:

input T { self: T! }

Cyclic dependency is illegal for input types.

romshark avatar Sep 14 '22 13:09 romshark