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
{{ message }}
Repository navigation
Create a robust lazy resolution system, integrate with transforms #944
The current transform behavior for cyclic nodes is not robust. I slapped together a ctx with seen and lazy resolutions, but currently lazilyResolve is limited to root nodes, whereas to support this it needs to be able to handle any composite node kind (see Node.transform at ark/schema/node.ts).
My initial thoughts were a scope should keep create a unique id per transformation when the root transform call is made.
Then each id in seen would be lazily resolved to that id prefixed with the transform id.
Activity
fix(sets): key cyclic intersections canonically
fix(schema): transform node trees through aliases
fix(schema): read the input and output of a mutually recursive type
test(type): transform a thunk's type of a definition in progress
fix(schema): transform a node reached again through an alias as a node
test(type): trim cyclic.test to one case per behavior
docs(type): cite the issues the release fixes and add the entries it …
ssalbdivad commentedon Nov 18, 2026
Fixed in 3.0.0-beta.0 (#1728). Try it with
npm i arktype@next.