You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, there is no easy way to check if a Concerto JSON AST is valid. When running concerto print, we get back a CTO string with errors. We should add a validateAST command and/or validate on print.
Expected Behavior
New concerto validate-ast command
and/or concerto print should throw an error when given an invalid AST as input
Steps to Reproduce
Create an invalid JSON AST (eg. use invalid values for enum options)
Context
Today, there is no easy way to check if a Concerto JSON AST is valid. When running concerto print, we get back a CTO string with errors. We should add a validateAST command and/or validate on print.
Expected Behavior
New
concerto validate-ast
commandand/or
concerto print
should throw an error when given an invalid AST as inputSteps to Reproduce
concerto print
on that ASTExisting issues
Context
Your Environment
The text was updated successfully, but these errors were encountered: