Skip to content

fix: allow empty control actions - #359

Open
han4wluc wants to merge 1 commit into
mainfrom
fix/empty-control-action
Open

han4wluc wants to merge 1 commit into
mainfrom
fix/empty-control-action

Conversation

@han4wluc

Copy link
Copy Markdown
Contributor

The control action schema requires resourceId, but the runtime uses an empty control: {} to clear the active control, and editors write it.

Reproduce: validate a line with control: {} (project, localization and state tests).

Fix: resourceId is optional; the validator is regenerated.

Tests: the new cases, the full suite (2,165 tests) and lint pass.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant