Fork me on GitHub
#sql
<
2019-11-19
>
seancorfield23:11:46

Something to consider if you're evaluating the middleware feature on master https://github.com/seancorfield/next-jdbc/issues/77 -- 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".