yada

lucian303 2020-06-11T00:07:46.103100Z

i have this route:

(yada/as-resource {:message "yo!"})
which produces Content-Type: application/edn but returns json. how can i return application/json?

lucian303 2020-06-11T00:09:06.104Z

i mean to change the default so it doesn't need to be specified per route

lucian303 2020-06-11T17:01:48.106100Z

also, what would be the best way to register an exception handler to capture all yada errors? maybe register an interceptor at the end of the chain? i'm trying to figure out how to do that ...