Skip to content

SearchSuggestions: Add parseRequest#380

Merged
nilmerg merged 1 commit into
mainfrom
enhancement/search-suggestions-request-parsing
May 19, 2026
Merged

SearchSuggestions: Add parseRequest#380
nilmerg merged 1 commit into
mainfrom
enhancement/search-suggestions-request-parsing

Conversation

@BastianLedererIcinga
Copy link
Copy Markdown
Contributor

Extract the body parsing in SearchSuggestions::forRequest() into a public static parseRequest() method.
This lets callers inspect the request data before constructing the SearchSuggestions.

forRequest() calls parseRequest() and keeps its previous behaviour, so existing callers are unaffected.

To allow callers to provide different suggestions depending on
the request data the static function `parseRequest` is added.
@nilmerg nilmerg added this to the 0.14.0 milestone May 19, 2026
@nilmerg nilmerg merged commit fde750c into main May 19, 2026
14 checks passed
@nilmerg nilmerg deleted the enhancement/search-suggestions-request-parsing branch May 19, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants