Skip to content

Track skipped filters with Payload context - #65

Merged
kettasoft merged 5 commits into
masterfrom
feat/skipped-payload-tracking
Sep 7, 2026
Merged

Track skipped filters with Payload context#65
kettasoft merged 5 commits into
masterfrom
feat/skipped-payload-tracking

Conversation

@kettasoft

Copy link
Copy Markdown
Owner

Summary

Add runtime tracking for skipped filters, including their Payload snapshots, reasons, and timestamps.

Changes

  • Associate skipped executions with their corresponding Payload
  • Update Engine::skip() to accept a Payload and an optional reason
  • Expose skipped filters through skipped() and hasSkipped()
  • Store cloned Payload snapshots to prevent later mutations
  • Record skipped payloads in permissive and strict modes
  • Pass Payload context from validation and control attributes
  • Add a default reason when no skip message is provided
  • Return consistently indexed results when filtering skipped entries by field
  • Update the Filterable API and custom annotation documentation
  • Add integration tests for tracking, snapshots, strict mode, and default reasons

kettasoft and others added 4 commits September 7, 2026 07:18
…ecture (#52)

* refactor(attributes): replace query+state deps with Engine.

* refactor(AttributePipeline): remove unused parameter from constructor

* refactor: remove unused AttributeHandler implementations

* refactor(engines): replace query deps with Engine context

* fix(Required): update error message to use payload field instead of context state key

* refactor(Scope): update query retrieval method and remove scope applied flag

* refactor(CastAttributeTest): mock Engine in AttributeContext for improved test isolation
@kettasoft kettasoft self-assigned this Sep 7, 2026
@kettasoft kettasoft added the feature New feature label Sep 7, 2026
@kettasoft
kettasoft merged commit 817927f into master Sep 7, 2026
1 check passed
@kettasoft
kettasoft deleted the feat/skipped-payload-tracking branch September 7, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant