I think any fix would require changing the code. Instead of an exact match it could do a regexp match, I guess. Can anyone suggest a cleaner solution?
-- sent all mobile-like
Mark
I forgot that id-query-for is a multimethod.
I believe (but it's been a while, and I can't try it right now) that without modifying clj-record you can call defmethod to add your own implementation for your subprotocol (which can just call id-query-for with a dummy db-spec that has the supported subprotocol value).
-- sent all mobile-like
On Sep 12, 2010 8:47 AM, "John D. Hume" <duelin....@gmail.com> wrote:I think any fix would require changing the code. Instead of an exact match it could do a regexp match, I guess. Can anyone suggest a cleaner solution?
-- sent all mobile-like
On Sep 12, 2010 7:28 AM, "Stuart Campbell" <stuart.will...@gmail.com> wrote:
> Hi,
>
> I...