Fork me on GitHub
#ring-swagger
<
2018-08-21
>
jdt11:08:05

This is a little weird. I have one app with :spec coercion, but I get these message when logging: `

jdt11:08:10

2018-08-21 07:48:58,805 [main] INFO  [compojure.api.coercion.schema] - :schema coercion enabled in compojure.api
2018-08-21 07:48:59,218 [main] INFO  [compojure.api.coercion.spec] - :spec coercion enabled in compojure.api

jdt11:08:26

the weird one being the :schema coercion message

ikitommi15:08:44

there is a multimethod that is used to map Keyword :coercion values, e.g. :coercion :schema. The logging was added before Clojure 1.9.0 to indicate which coercion implementations are available (e.g. if spec is found in classpath). I think the logging can be removed, as 1.9.0 has shipped.

ikitommi15:08:27

Pull Request to remove those most welcome.