compojure-api icon indicating copy to clipboard operation
compojure-api copied to clipboard

Add {:coercion :select-schema} option

Open aneilbaboo opened this issue 3 years ago • 0 comments

It would be incredibly handy to be able to filter out unwanted keys from an object based on the schema rather than reporting errors. I noticed the select-schema function in schema-tools, but I'm not quite sure how to use that to create my own Coercion.

I might create a Coercion and submit a PR if someone can guide me in how to do it.

aneilbaboo avatar Oct 16 '20 02:10 aneilbaboo