Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MappedActionFilter its own interface #107960

Merged
merged 1 commit into from May 2, 2024

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Apr 26, 2024

MappedActionFilter is an ActionFilter, but it has no defined order. Yet the order method is still required to be implemented. This commit makes MappedActionFilter its own interface that does not contain order. The apply method is the exact same as ActionFilter, so it still works just as before, but there will be less confusion over whether order is required or applicable.

MappedActionFilter is an ActionFilter, but it has no defined order. Yet
the order method is still required to be implemented. This commit makes
MappedActionFilter its own interface that does not contain order. The
apply method is the exact same as ActionFilter, so it still works just
as before, but there will be less confusion over whether order is
required or applicable.
@rjernst rjernst added :Core/Infra/Core Core issues without another label >refactoring labels Apr 26, 2024
@elasticsearchmachine elasticsearchmachine added v8.15.0 Team:Core/Infra Meta label for core/infra team labels Apr 26, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Contributor

@ldematte ldematte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rjernst rjernst merged commit 4dcf371 into elastic:main May 2, 2024
14 checks passed
@rjernst rjernst deleted the action_filters/no_mapped_order branch May 2, 2024 01:55
nielsbauman added a commit that referenced this pull request May 2, 2024
rjernst added a commit to rjernst/elasticsearch that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >refactoring Team:Core/Infra Meta label for core/infra team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants