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

Middleware steps should support a slotting. #156

Closed
skmcgrail opened this issue Aug 26, 2020 · 0 comments
Closed

Middleware steps should support a slotting. #156

skmcgrail opened this issue Aug 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@skmcgrail
Copy link
Member

Middleware steps should allow for a slot to be added to a given step via an AddSlot and InsertSlot API. A slot would be a named position with the middleware step that would allow other middlewares to be inserted relative to it. If a middleware is registered with a matching slot name, that middleware would fill in the slot. If a middleware is later removed, the slot reference would still remain.

Slots that are not directly assigned a middleware would have no affect on the fully constructed handler stack.

@skmcgrail skmcgrail added the enhancement New feature or request label Aug 26, 2020
@skmcgrail skmcgrail changed the title Middleware steps should support a slot concept. Middleware steps should support a slotting. Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants