Skip to content

refactor: remove legacy foundation components - #85

Merged
kettasoft merged 1 commit into
masterfrom
refactor/remove-legacy-foundation-code
Sep 12, 2026
Merged

kettasoft merged 1 commit into
masterfrom
refactor/remove-legacy-foundation-code

Conversation

@kettasoft

Copy link
Copy Markdown
Owner

Summary

Remove the unused resource-bag layer and legacy filtering helpers that no longer participate in Filterable's execution pipeline.

What changed

  • removed Resources, FilterableSettings, and all specialized resource bags
  • removed the obsolete getResources() and settings() APIs from Filterable and its facade PHPDoc
  • stopped synchronizing allowed fields and relations into duplicate bag state
  • removed legacy field validators, mappers, relation parsers, and tree resolvers superseded by PayloadFactory and PayloadApplier
  • updated the API documentation and changelog to reflect the streamlined foundation

Why

These components were remnants of an older architecture. They duplicated state already owned by Filterable, were not used by the current payload pipeline, and increased the amount of code initialized and maintained without affecting filtering behavior.

The active engines continue to read fields, relations, operators, sanitizers, and mappings from their canonical APIs and runtime context.

@kettasoft kettasoft self-assigned this Sep 12, 2026
@kettasoft kettasoft added the enhancement New feature or request label Sep 12, 2026
@kettasoft
kettasoft merged commit 07e9288 into master Sep 12, 2026
8 checks passed
@kettasoft
kettasoft deleted the refactor/remove-legacy-foundation-code branch September 12, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant