ran
ran copied to clipboard
Search & Filtering [feature request]
Hi, thanks for sharing this!
I'm new to Apollo and Graphcool and wonder if it would be possible to include a good example of implementing some complex search and filtering:
- Search posts (in title and description) + search results page.
- Filter posts by multiple criteria, e.g. get all posts where:
"createdAt" is between Date_A and Date_B and have "tags" in [ tag1, tagt2, tagt3... ] and made by "users" [ user1, user2...] etc.
This tutorial shows how to do a basic search
Still not sure how to do Search AND filtering based on arbitrary number of filters.
Hey @dalerka, Thanks for your idea! This one is little bit tricky so That's why it will take time to finish but of course, All contributions are also welcome 😄