This isn't a PR for merging, it's just to show you how I went about emulating 'memberof'.
It's mostly done inside applyBatchModificationToModel(), which means it just naturally picks up any changes to the 'member' attribute made in the EmulatesModelQueries trait.
Cases where applyBatchModificationToModel() doesn't get called, like insert(), delete() and updateAttributes() in EmulatesQueries, I do the emulation in those methods.
Hey Steve,
This isn't a PR for merging, it's just to show you how I went about emulating 'memberof'.
It's mostly done inside applyBatchModificationToModel(), which means it just naturally picks up any changes to the 'member' attribute made in the EmulatesModelQueries trait.
Cases where applyBatchModificationToModel() doesn't get called, like insert(), delete() and updateAttributes() in EmulatesQueries, I do the emulation in those methods.