On Oct 23, 9:44 pm, Shantanu Kumar wrote:
> How about using protocols to fetch metadata? SQLRat uses this
> approach:http://bitbucket.org/kumarshantanu/sqlrat/wiki/tutorial/EntityDefinition
Adding extra fields to mapped records is looking like the best
solution to what I'm trying to accomplish.
Is there any way to attach Clojure defined 'metadata' to to types? I
am trying to write a ORM for records and would like some way to attach
'metadata' to types for the sake of mapping configuration. Clojure's
built-in metadata apppears to be intended only for instances of
types. I could use Java