-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api,api-sdk): add getGroupsByAdminId() and getGroupsByMemberId() #519
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @waddaboo I just added one comment.
Great job. Very clean work 🙏
The dev branch has an issue now. Can you add these changes to a new branch to merge it into main so that these new features can be released right after the PR is merged?
where = { | ||
adminId: filters.adminId, | ||
...where | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where = { | |
adminId: filters.adminId, | |
...where | |
} | |
where = { | |
adminId: filters.adminId | |
} |
The where
is not necessary here, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I'll take it away.
Sure! |
Description
Added new
api-sdk
features that allows users to get groups based onadminId
andmemberId
.Related Issue
close #493
Does this introduce a breaking change?
Other information
https://github.com/waddaboo/bandada/blob/bea35ed9f1c290c1cb2b1267950c68f2002ae37a/apps/api/src/app/groups/groups.service.ts#L818-L825
Changed
where
from array to object so that it will return results forAND
instead ofOR
when bothadminId
andmemberId
is present in the query.