On Oct 23, 9:44 pm, Shantanu Kumar <[email protected]> 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.  It's not quite ideal since
that interferes with actions such as enumerating all of the fields of
a record.  Thanks for the link, I was not aware of the 'extend'
function.

On Oct 24, 9:09 am, David Nolen <[email protected]> wrote:
> I'm assuming you have factory fns. You can put metadata on those.

I would like to avoid having to use factory functions to instantiate
records.  Ideally I would like users to be able use records mapped to
a database in the same way as any other record.

Thanks for for the suggestions.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to