ring-clojure / ring

Clojure HTTP server abstraction
MIT License
3.73k stars 518 forks source link

Consider adding data_readers for clj-time or coercing to timestamp #464

Closed vkz closed 2 years ago

vkz commented 2 years ago

This bit here will break unable to edn/read-string if ever you attempt to store clj-time/date-time value, which you do e.g. in ring.middleware.oauth2 when writing token expiry in session map here.

Possible solutions:

Thanks

vkz commented 2 years ago

oops, I take it back. Looks like cookie-store offers a :readers option. My bad. Closing