This is inferred time but fails at runtime: ```ts export const ApprovalConfigStepNodeValidator = type({ key: "this[]", }); ```
Activity
fix `this[]` shallow resolution cycle in self-referential types
fix `this[]` shallow resolution cycle in self-referential types
fix `this[]` shallow resolution cycle in self-referential types
jonathan-ek commentedon Jun 2, 2026
@marko suggested the following workaround
Can confirm that this works.
fix: avoid finalizing `this` references before their scope resolves
release: arktype 2.2.7 + dependents (#1675)
fix `this[]` shallow resolution cycle in self-referential types (arkt…
fix(schema): finalize once no definition is open