-
Notifications
You must be signed in to change notification settings - Fork 402
Open
Labels
flag: needs discussionIssues which needs discussion before implementation.Issues which needs discussion before implementation.
Description
As we can assume, @UseBefor
should be executed BEFORE method invocation, but unfortunately is executed BEFORE any other middleware which makes no sense and prevents using it as a kind of Guard
for specific endpoint.
As we can see here:
...[route, routeGuard, ...beforeMiddlewares, ...defaultMiddlewares, routeHandler, ...afterMiddlewares] |
Metadata
Metadata
Assignees
Labels
flag: needs discussionIssues which needs discussion before implementation.Issues which needs discussion before implementation.