Skip to content

Conversation

@leebyron
Copy link
Contributor

@leebyron leebyron commented May 5, 2021

This adds:

  • ConstValueNode - A subtype of ValueNode which recursively excludes Variables
  • Improved syntax error when encountering variable in a const value
  • parseConstValue(): ConstValueNode
  • isConstValue(): ConstValueNode
  • Various refinements to AST types to use ConstValueNode (or a type which includes it) to better align to the spec.

@leebyron leebyron requested a review from IvanGoncharov May 5, 2021 21:02
@leebyron leebyron force-pushed the const-value-ast branch 2 times, most recently from a7be8ab to 0e53b31 Compare May 6, 2021 03:58
@leebyron leebyron force-pushed the const-value-ast branch from 0e53b31 to 0b36216 Compare May 6, 2021 08:01
@leebyron leebyron requested a review from IvanGoncharov May 6, 2021 08:03
This adds:

* ConstValueNode - A subtype of ValueNode which recursively excludes Variables
* Improved syntax error when encountering variable in a const value
* parseConstValue(): ConstValueNode
* isConstValue(): ConstValueNode
* Various refinements to AST types to use ConstValueNode (or a type which includes it) to better align to the spec.
@leebyron leebyron force-pushed the const-value-ast branch from 0b36216 to 4954529 Compare May 6, 2021 08:07
@IvanGoncharov IvanGoncharov merged commit 513eacc into main May 8, 2021
@IvanGoncharov IvanGoncharov deleted the const-value-ast branch May 8, 2021 06:22
@IvanGoncharov IvanGoncharov added the PR: feature 🚀 requires increase of "minor" version number label May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature 🚀 requires increase of "minor" version number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants