Skip to content

resolveSelections

Open in ChatGPTOpen in Claude

resolveSelections(selections, tryGetContext): Readonly<AxisResolvedSelections>

Defined in: packages/stacks/src/composer/selections.ts:305

Validate a raw selections value (typically the selections block of axis.json imported via resolveJsonModule) and apply the feature.<name> context overlay (context > axis.json — today’s precedence, unchanged).

Throws [Axis]-prefixed errors on any shape, enum, unknown-key, reserved-apis, invalid-context-value, custom-target, or kind-mismatch failure. Returns a frozen, post-overlay AxisResolvedSelections.

unknown

ContextGetter

Readonly<AxisResolvedSelections>

© 2026 Axis Tech. Powered by axis-tech.co.