apollo-parser@0.2.4
0.2.4 - 2021-03-07
Fixes
-
correctly parse Arguments Definition - bnjjj, pull/187 closes issue/186
apollo-parserwas creating ARGUMENTS instead of ARGUMENTS_DEFINITION nodes
when parsing Arguments Definitions. This change fixes the incorrect parsing
and allows to iterate over arguments definitions returned by the AST. -
Add STRING_VALUE node to DESCRIPTION - bnjjj, pull/188 closes issue/185
DESCRIPTION nodes are composed of STRING_VALUE nodes. The description string
was previously simply added to the DESCRIPTION node which was not spec
compliant. -
Schema Definition has a description - bnjjj, pull/188 closes issue/185
apollo-parserwas parsing descriptions in Schema Definitions, but the
graphql ungrammar did not account for a description node. This updates the
ungrammar, and provides an accessor method to Schema Definition's description. -
Add
repeatablekeyword to GraphQL ungrammar - bnjjj, pull/189repeatablekeyword was not able to be accessed programmatically from the
parsed AST for Directive Definitions, this is now fixed.