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
There has been some interest in supporting co-recursion and (less) interest in recursion. e.g.
schema Employee
name: Text
manager: &Employee // Here's the recursion
Note: Inline recursion should still be an error (to avoid unbounded schema size), recursion needs to broken by an nullable/optional field or some kind of a list/collection field (otherwise these schemas cannot be constructed).
The text was updated successfully, but these errors were encountered:
(from b/172182382)
Arcs types do not currently support recursion or co-recursion (e.g. https://en.wikipedia.org/wiki/Recursive_data_type).
There has been some interest in supporting co-recursion and (less) interest in recursion. e.g.
Note: Inline recursion should still be an error (to avoid unbounded schema size), recursion needs to broken by an nullable/optional field or some kind of a list/collection field (otherwise these schemas cannot be constructed).
The text was updated successfully, but these errors were encountered: