Skip to content

feat(field): per-type searchable defaults for factories#57

Merged
bigin merged 1 commit into
mainfrom
feat/searchable-factory-defaults
May 17, 2026
Merged

feat(field): per-type searchable defaults for factories#57
bigin merged 1 commit into
mainfrom
feat/searchable-factory-defaults

Conversation

@bigin

@bigin bigin commented May 17, 2026

Copy link
Copy Markdown
Owner

Field::text / longText / editor / slug now return searchable:true by default. Every other factory returns searchable:false. The constructor default stays false to keep direct construction backward-compatible.

No behavior change to FTS indexing yet — SqliteItemRepository still ignores the flag. The follow-up PR makes it load-bearing plus a migration that promotes existing text-typed rows.

Field::text / longText / editor / slug now return searchable:true
by default. Every other factory returns searchable:false. The
constructor default stays false to keep direct construction
backward-compatible.

No behavior change to FTS indexing yet — SqliteItemRepository
still ignores the flag. The follow-up PR makes it load-bearing
plus a migration that promotes existing text-typed rows.
@bigin bigin merged commit d44bdea into main May 17, 2026
4 checks passed
@bigin bigin deleted the feat/searchable-factory-defaults branch May 17, 2026 09:20
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