launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #04337
headsup - DecoratedResultSet and prejoin
Just a small headsup:
- you can use DRS on a prejoined result set
- you can't call 'prejoin' on a DRS : code that tries to *disable*
prejoins lower layers establish will blow up if it tries to do that.
https://bugs.edge.launchpad.net/launchpad-foundations/+bug/619538
I think this is ok, just wanted to make sure folk didn't have to dig
to figure this out, when introducing DRS.
I suggest the right resolution is to ask for the prejoins when calling
the API returning the resultset, rather than manually poking at the
resultset object to turn it off.
-Rob