-
Notifications
You must be signed in to change notification settings - Fork 441
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
Implement consistent filter
arg across connections
#1385
Comments
Here's the thread from slack: Seagyn Davis 4 hours ago Seagyn Davis 4 hours ago Jason Bahl 3 hours ago
I suppose we could get the Tax Query in now though, and re-visit filters for 2.0 :thinking_face: Seagyn Davis 3 hours ago Jason Bahl 3 hours ago Jason Bahl 2 hours ago Seagyn Davis 1 hour ago
could work from a tax perspective where category could be replaced by the taxonomy field name for custom taxes. Seagyn Davis 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Seagyn Davis 1 hour ago Seagyn Davis 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago
(edited) Seagyn Davis 1 hour ago Jason Bahl 1 hour ago
Jason Bahl 1 hour ago Jason Bahl 1 hour ago
Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Jason Bahl 1 hour ago Seagyn Davis 1 hour ago Seagyn Davis 1 hour ago Seagyn Davis 1 hour ago
Jason Bahl 34 minutes ago Jason Bahl 32 minutes ago
Jason Bahl 32 minutes ago Jason Bahl 32 minutes ago Jason Bahl 32 minutes ago Jason Bahl 32 minutes ago Jason Bahl 32 minutes ago Jason Bahl 31 minutes ago Jason Bahl 31 minutes ago Jason Bahl 31 minutes ago Jason Bahl 31 minutes ago Seagyn Davis 30 minutes ago Jason Bahl 30 minutes ago Jason Bahl 30 minutes ago Jason Bahl 29 minutes ago Seagyn Davis 29 minutes ago Jason Bahl 29 minutes ago Jason Bahl 29 minutes ago Jason Bahl 28 minutes ago Jason Bahl 28 minutes ago Seagyn Davis 27 minutes ago Jason Bahl 26 minutes ago Jason Bahl 26 minutes ago Jason Bahl 26 minutes ago Jason Bahl 7 minutes ago |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. If you believe this issue is still valid, please open a new issue and mark this as a related issue. |
filter
arg across connections
This is a post v1 discussion which started on Slack: https://wp-graphql.slack.com/archives/C3NM1M291/p1594650031121400
The idea is #1384 is nice to have in core but it's very WP like which makes it harder for none WP developers to gain the correct context and the different ways to filter. The long term plan would be to add a filtering system into core that is consistent no matter you're querying against. There are plenty of edge cases so it's worth having a deep and mostly long discussion about it before any implementation takes place.
Initial ideas
Filtering by taxonomy
Array of category slugs:
Single category:
Complex category query:
By post information
A query you would probably never make but could:
Mixed queries with mixed relations
The idea here is that you can quickly build up filter queries without requiring knowledge of how
WP_Query
works.The text was updated successfully, but these errors were encountered: