mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
Make deepToTyped redundant by improving toTyped
#239
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @holzensp on GitHub (Nov 1, 2024).
Currently,
toTypedis shallow. For example, givenwould correctly produce
if it did not throw on
fails:This is why
deepToTypedwas developed. However,toTypedshould recursively convert to the required typed structure.By default this should retain laziness.