cjoudrey / graphql-schema-linter

Validate GraphQL schema definitions against a set of rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maximum call stack size exceeded

liamdasilva opened this issue · comments

When we have a circular schema reference
e.g. if a Post contains User and User contains posts, and they are in separate files that import each other
then the linter seems to enter an infinite loop and stack overflow

Thanks for opening this issue @liamdasilva!

That's odd. Do you mind copy/pasting a snippet of your schema so that I can try reproducing this locally?