Skip to content

[doc issue] filter ordering #19730

Description

@yousef-fadli

Expected Behavior

The documentation should clarify what addFilterBefore means.
For example, if the we have filter chain is A → B → C and we call addFilterBefore(X, C.class),
is the result
A → B → X → C or
A → X → B → C or
X → A → B → C .
all of them follow the rule of ( X before C ) ?
so i think we need some clarifications for addFilterBefore and addFilterAfter cases

Current Behavior

The documentation only says that

#addFilterBefore(Filter, Class<?>)adds your filter before another filter
#addFilterAfter(Filter, Class<?>) adds your filter after another filter

which does not make the exact ordering guarantee clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions