Fork me on GitHub

Something to consider if you're evaluating the middleware feature on master -- currently you can "nest" middleware wrappers but all it does is merge the options across all the wrappers, which will discard any conflicting hook options. I'm not sure whether to rename the feature to set expectations that it's "only" about providing defaults/merging options, remove the ability to nest (merge) the wrappers (as it seems misleading), or see if I can make it all nest/chain as folks might expect from "middleware" or "interceptors".