Skip to content

Provide a isCaseSensitive option to the ExactFilter/PartialSearchFilter #7651

@VincentLanglet

Description

@VincentLanglet

Description
Looking at the PartialSearchFilter

final class PartialSearchFilter implements FilterInterface, OpenApiParameterFilterInterface

versus the previous SearchFilter

final class SearchFilter extends AbstractFilter implements SearchFilterInterface

it seems like the previous SearchFilter had more functionality and is more consistant that the new ExactFilter/PartialSearchFilter

  • the exact strategy is handled by
    final class ExactFilter implements FilterInterface, OpenApiParameterFilterInterface
    but does not provide a case-insensitive strategy
  • the partial strategy is handled by by the PartialSearchFilter but only in the case-insensitive strategy
  • there is no StartFilter, no EndFilter, no WordFilter.

Is there a reason for such implementation ? @vinceAmstoutz @soyuka

For instance I would be interested by a isCaseSensitive option to the ExactFilter and the PartialSearchFilter.
Are you ok with this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions