Hi! We have function "bean" which takes POJO and returns read-only map with values. How about opposite function?
It would be nice to have function like: (defmacro unbean ([^Class class-name map-of-fields-and-values & omit-fields] ... ) ([^Object obj-ref map-of-fields-and-values & omit-fields] ... ) ) Which would take classname symbol or object, map of fieldname - its values (for example the result from bean) and fields to omit (for example field to omit because it has an ID set by a database or reference to heavy object initialized with side-effecting method call). With classname the no-arg constructor had to be called for object reference. Any ideas? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en