Fork me on GitHub
#reitit
<
2019-10-04
>
roklenarcic13:10:20

I have upgraded [com.fasterxml.jackson.core/jackson-databind "2.9.9"] to 2.10.0 because lein nvd reported 6 vulnerabilities for 2.9.9. This then causes jsonista to stop working, and that library is used in a lot of metosin libraries

roklenarcic13:10:27

just a heads up

ikitommi13:10:13

@roklenarcic could you write an issue out of that into jsonista. PR also welcome, if the fix is simple, thanks

ikitommi14:10:21

@roklenarcic pushed out [metosin/jsonista "0.2.5"], tests pass at least.

roklenarcic14:10:04

the version I used was 0.2.2 because that's what comes with lastest muuntaja

roklenarcic14:10:26

So I guess, there's other projects where to bump version too 🙂

ikitommi14:10:43

ok, will push the changes to all libs, at some point

telekid21:10:30

Does reitit automatically perform spec coercion on on the values of response object keys, where the key names are the same as clojure spec keywords? For example, if I return a body containing this object:

{ :user/birthyear "ikitommi" }
and this spec is defined elsewhere:
(s/def :user/birthyear integer?)
will reitit automatically throw an error? It seems to be behaving that way in our system, but I don’t see anything in the reitit docs that suggest that behavior.