core
core copied to clipboard
feat(doctrine): add SearchFilter STRATEGY_PATTERN
| Q | A |
|---|---|
| Branch? | main |
| License | MIT |
Current ORM\SearchFilter is missing the search strategy that I need the most. There is no way to select a strategy that makes LIKE query without automatically adding wildcards. So far, the only solution has been to implement my own SearchFilter, which is annoying.
This PR adds a strategy, that will make LIKE query, but will let user decide, if and where to add wildcards.
why not though adding a custom filter has become way easier since we introduced parameters, please add a test