graphql-schema-linter icon indicating copy to clipboard operation
graphql-schema-linter copied to clipboard

Maximum call stack size exceeded

Open liamdasilva opened this issue 2 years ago • 1 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

liamdasilva avatar Mar 11 '22 18:03 liamdasilva

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?

cjoudrey avatar May 06 '22 17:05 cjoudrey