Skip to content

apollo-parser@0.2.4

Choose a tag to compare

@lrlna lrlna released this 07 Mar 17:05
· 782 commits to main since this release
62344d1

0.2.4 - 2021-03-07

Fixes

  • correctly parse Arguments Definition - bnjjj, pull/187 closes issue/186

    apollo-parser was 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-parser was 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 repeatable keyword to GraphQL ungrammar - bnjjj, pull/189

    repeatable keyword was not able to be accessed programmatically from the
    parsed AST for Directive Definitions, this is now fixed.