Closed mgrdcm closed 5 months ago
Right now 2 implicitly return this already, and 2 explicitly only return True if it gets that far.
True
This is technically a breaking change, though as far as I can tell the return values of those functions aren't documented right now so...
Note that the modeled.ModelInvitation's version already does exactly this explicitly.
modeled.ModelInvitation
(note was originally gonna unify these like https://github.com/bennylope/django-organizations/pull/276 but this is just as half-backwards-compatible and also exposes more useful information)
Good idea!
Right now 2 implicitly return this already, and 2 explicitly only return
True
if it gets that far.This is technically a breaking change, though as far as I can tell the return values of those functions aren't documented right now so...
Note that the
modeled.ModelInvitation
's version already does exactly this explicitly.(note was originally gonna unify these like https://github.com/bennylope/django-organizations/pull/276 but this is just as half-backwards-compatible and also exposes more useful information)