-
-
Notifications
You must be signed in to change notification settings - Fork 0
feature/61-filter-nonprofits #77
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
base: develop
Are you sure you want to change the base?
Conversation
soramicha
left a comment
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.
| return nonprofit; | ||
| }, | ||
|
|
||
| nonprofitChapterProjects: async ( |
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.
I see that you are creating a new API for nonprofit_chapter_projects. For our design of the api's, we've already created all APIs which are individual table entities and not join tables like nonprofit_chapter_projects. We don't want to expose them and have them be able to be called publicly. And so ultimately the goal is to be able to just call something like this from Postman:
query {
nonprofits(
chapterNames: [...]
statuses: [...]
) {
id
name
chapters {
id
status
}
}
}
And be able to retrieve proper nonprofits based on the chapter and/or status name. And internally we would use the nonprofit_chapter_project table to gather the right data we need. Hopefully that makes sense and let me know if you have questions!



Closes #61
Overview
Testing
Through Postman and Supabase
Screenshots / Screencasts
Checklist
Tip: You can make the issue and then check them after the fact or replace
[ ]with[x]to check it!Notes
{Any issues/suggestions relating to the ticket, repo, assignments, TL duties; please mention here!}