-
-
Notifications
You must be signed in to change notification settings - Fork 266
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
Add project search to Fund/Collective fields #10311
base: main
Are you sure you want to change the base?
Conversation
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 don't get the need for this account.projects
field, which serves the same purpose as account.childrenAccounts
but with an ambiguous name. Can't we simply add support for a search term to the existing childrenAccounts
field?
{
collective(slug: "babel") {
projects: childrenAccounts(accountType: PROJECT, searchTerm: "...") {
...
}
}
}
1b60880
to
84159bb
Compare
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.
A small blocker on the variable name, the rest looks good!
Related opencollective/opencollective#7535