Re: [Mailman-Developers] Rosters not using 'ISubscriptionService' Interface.
31 Mar
2016
31 Mar
'16
9:14 p.m.
On Apr 01, 2016, at 01:59 AM, Harshit Bansal wrote:
I was looking at the 'rosters.py' and I am unable to understand that why are rosters not using 'ISubscriptionService' interface instead of making raw queries for finding members? Is there any reason for doing so and if no then should it be changed?
The easy answer is that rosters (and the IRoster interface) predates ISubscriptionService by quite a bit. The latter was added primarily to support REST APIs for member searchers.
The concept of a roster as a query is pretty fundamental, and the idea was also that rosters should be composable. I'm not keen on changing these interfaces.
Cheers, -Barry
2947
Age (days ago)
2947
Last active (days ago)
0 comments
1 participants
participants (1)
-
Barry Warsaw