dm3/clojure.java-time

Consider the `Datafiable` protocol to expose a pure-data view of returned objects

jimpil opened this issue · 3 comments

Hi there,

First of all, many thanks for your work on this - it is hugely appreciated :). Secondly, i think this library fits perfectly into the intended use-cases for the new Datafiable protocol (Clojure 1.10). Any top-level object (e.g. LocalDateTime, ZonedDateTime etc) could/should be datafiable, and this would essentially remove the need for Java interop (for accessing individual fields) in the vast majority of cases. Would you be interested in a PR? It would boil down to a brand new data namespace exposing a single public to-data.

Again, thanks for your work... ;)

dm3 commented

Sure, sounds good. Would be interesting to see what you come up with!

See #47

dm3 commented

Closed together with PR after some discussions.