On Thursday, November 12, 2015 at 11:48:24 PM UTC-8, Jeremy Evans wrote:
>
> I've thought about this use case before, and the best way I can think to 
> implement it is to have a json_serializer_opts accessor for model 
> instances.  If you call the setter, it will save the custom options, and 
> calling to_json on the model object later will merge those options into the 
> default options. Anyone want to implement that?  If not, I'll try to get it 
> in before the next release.
>

Implemented: 
https://github.com/jeremyevans/sequel/commit/d1148dab3cdae3a459e591bb293de3ac9abdefca

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to