Fork me on GitHub
#lein-figwheel
<
2017-05-23
>
frerom15:05:26

Hi! I upped ring from 1.4.0 to 1.6.1 in my project to make use of the new SameSite cookie attribute. When running the application by itself it works perfectly fine, but when using my ring-handler in figwheel I get a Assert failed: (every? valid-attr? attrs)in ring.middleware.cookies where it validates the cookie attributes. It looks as if it runs the old ring version. Does anyone have an idea what could cause this?

danielcompton21:05:49

Could be that there is an old version of ring.middleware.cookies from another dependencies which is being used

danielcompton21:05:04

What do you see when you run lein deps :tree?

danielcompton21:05:30

The usual fix for this is to add an explicit dependency on the version of ring.middleware.cookies that you want to use