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*.
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.
allow_emptyin bothRepeatedItemandSeparatedItem(defaultfalse).Separated/Repeatedfrom an optional field, and convert all violations from(Foo+)?toFoo*.