Replies: 1 comment 1 reply
-
|
Pkl does not currently allow recursive type aliases (see previous discussion in #268) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does pkl support recursive / tree-like structures like one can achieve with json schema
{ "$ref": "#" }syntax.Something like :
typealias NestedParam = Mapping<String, Param | NestedParam>See example below.
schema.pkl:
config.pkl:
Beta Was this translation helpful? Give feedback.
All reactions