Open
Description
The output of \GraphQL\Language\Parser::parse contains a tree in every 'loc' field which appears to branch forever:
Now, it doesn't go forever or it would crash for everyone. But get a schema large enough and it does break the recursion limit (default 4096) in unserialize()
when being pulled out of cache (in Drupal).
What purpose do these endless recursive references to 'prev' and 'next' serve? Is it possible they could be limited or removed?