0.2.7 - 2022-06-08
Features
-
Resource bound parsing execution - garypen, pull/239 closes issue/225
Introduce recursion limit enforced during SelectionSet parsing.
There is now a default limit (4_096) applied to parsers during SelectionSet
parsing to help prevent stack overflows. This limit can be set manually when
creating a parser by using the new fn,Parser::with_recursion_limit()
.
Details about recursion consumption can be retrieved using the new fn
SyntaxTree::recursion_limit()
. Recursion limit details are also output as
part of the AST debug output when printing aSyntaxTree
.