CleanArchitecture icon indicating copy to clipboard operation
CleanArchitecture copied to clipboard

Changed PipelineBehavior ordering

Open emenychtas opened this issue 7 months ago • 2 comments

Any request validator should only be called after authorization.

Validators can impose load to the database and should be protected.

emenychtas avatar May 24 '25 08:05 emenychtas

To me it looks like you moved Authorization after Validation.

deceptiveSimplicity avatar Jul 09 '25 11:07 deceptiveSimplicity

AuthorizationBehaviour should be before validation, because there is no point in validating if the user is not authorized.

juanmarquezruiz avatar Nov 28 '25 14:11 juanmarquezruiz