smithy-go icon indicating copy to clipboard operation
smithy-go copied to clipboard

Middleware steps should support a slotting.

Open skmcgrail opened this issue 5 years ago • 0 comments

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 avatar Aug 26 '20 22:08 skmcgrail