On Wednesday, August 31, 2016 at 4:36:40 AM UTC-7, David Espada wrote:
>
> Hi all.
>
> There is a good little Sequel plugin called "delay_add_association" that 
> avoids persistence when adding a child (one_to_many) to an entity. That is 
> good in my
> system, because I like to have a consistent object representation without
> persisting nothing until the end of the work cycle.
>
> But I have a problem for generalizing that behaviour with one_to_one 
> relations.
> In that case I can't do assignation between entities avoiding persistence.
>
> Can we have a similar solution for one_to_one as in one_to_many? I think 
> that
> consistent behaviour is good for Sequel practices :)
>

I suppose that is something I would consider as an addition to 
delay_add_association.  Do you want to work on a pull request for it?

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 https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to