Skip to content

Add flattened aggregated validation failures and exceptions to CommandScope#2167

Merged
einari merged 9 commits into
mainfrom
fix/command-scope-aggregated-failures-exceptions
Apr 24, 2026
Merged

Add flattened aggregated validation failures and exceptions to CommandScope#2167
einari merged 9 commits into
mainfrom
fix/command-scope-aggregated-failures-exceptions

Conversation

@einari
Copy link
Copy Markdown
Contributor

@einari einari commented Apr 24, 2026

Added

  • Added aggregatedValidationFailures and aggregatedExceptions to ICommandScope and CommandScopeContext as flattened aggregate collections across nested command scopes

Changed

  • CommandScopeImplementation now flattens failures and exception messages from own scope and child scopes into aggregate collections
  • Updated CommandScope specs to verify aggregate flattening and clearing on re-execution
  • Updated frontend documentation for CommandScope to include aggregate collection usage and API entries

einari added 7 commits April 24, 2026 16:00
Expose aggregatedValidationFailures and aggregatedExceptions on ICommandScope
and CommandScopeImplementation so consumers can read a flattened view across
nested scope hierarchies without manually traversing per-command maps.
Cover flattened aggregate behavior for own scope and parent-child scope
hierarchies, including clearing of aggregated values on re-execution.
@einari einari added the patch label Apr 24, 2026
@einari einari merged commit ad21043 into main Apr 24, 2026
@einari einari deleted the fix/command-scope-aggregated-failures-exceptions branch April 24, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant