Skip to content

Bring back allow_empty in CST containers #814

@OmarTawfik

Description

@OmarTawfik

It was decided to revert #693, as having the empty parents in the tree is useful for both the AST types and Graph Queries to only need to handle non-nullable fields.

  • Bring back allow_empty in both RepeatedItem and SeparatedItem (default false).
  • In validation, ban referencing Separated/Repeated from an optional field, and convert all violations from (Foo+)? to Foo*.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions