Open achou11 opened 5 months ago
Yeah I'm not sure what's best, it depends on what feels most intuitive when using the API in the front-end. Open to this being whatever works best for @achou11 and @ErikSin. However if we are going to start adding a filter option to getMany()
for other data types, it might start to be confusing if there is a "default" filter. On the other hand we already default to filtering out "deleted" records from getMany()
.
Description
We implemented
project.leave()
which updates a project member's role toLEFT
. There's an open question as to whether listing these members when callingMemberAPI.getMany()
should omit them by default (currently they're included).Potential suggestion is to omit them by default and include an option for the method e.g.
includeLeft
that would include them as an opt-in behavior. Similar thing for blocked members.