-
Notifications
You must be signed in to change notification settings - Fork 163
Support recursive types #70
Copy link
Copy link
Closed
Labels
area/generatorAffects: plugin, CLI, config file.Affects: plugin, CLI, config file.area/openapiAdding/updating a feature defined in OpenAPI.Adding/updating a feature defined in OpenAPI.kind/enhancementImprovements to existing feature.Improvements to existing feature.size/MMedium task. (A couple of days of work.)Medium task. (A couple of days of work.)
Milestone
Metadata
Metadata
Assignees
Labels
area/generatorAffects: plugin, CLI, config file.Affects: plugin, CLI, config file.area/openapiAdding/updating a feature defined in OpenAPI.Adding/updating a feature defined in OpenAPI.kind/enhancementImprovements to existing feature.Improvements to existing feature.size/MMedium task. (A couple of days of work.)Medium task. (A couple of days of work.)
Currently the package does not support recursive types. Should this be possible? Maybe I'm doing something wrong. otherwise, I would propose to add this constraint in the docs. I have this use case due to Server Driven UI. This results in components or actions that can be embedded in each other.
Errors:
Value type 'x' cannot have a stored property that recursively contains itValue type 'x' has infinite size