ring-middleware-format icon indicating copy to clipboard operation
ring-middleware-format copied to clipboard

passing in `:predicate` from `wrap-format`

Open flyingmachine opened this issue 4 years ago • 0 comments

It'd be nice to be able to write something like:

 (wrap-restful-format handler {:params-options {:transit-json {:predicate pred-fn}}})

It looks like {:predicate pred-fn} gets stashed under the :options key by the time it gets to wrap-transit-json-params

flyingmachine avatar Apr 17 '21 18:04 flyingmachine