- changed milestone to 0.5.xx
make GenericBackrefExtension smarter about sparse collections
Issue #815
resolved
When a lazy=None
backref'd relation is built, push down a 'sparse collection' (e.g.) flag into the GenericBackrefExtension. Use this knowledge when handling a set()
- the 'old value' may not exist in the collection, and that's not an error. Probably add a 'check first' option to the attribute's remove() to implement that logic. May also require adding an (optional?) 'contains' hook to the collections api.
A refinement of #813 / r3613.
Comments (3)
-
repo owner -
repo owner - changed status to wontfix
there's no error case for lazy=None right now and no need for what this ticket is suggesting.
-
repo owner - removed milestone
Removing milestone: 0.5.xx (automated comment)
- Log in to comment