-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update backend to match upstream changes #143
Comments
Ok I figured out how Exygy's filter code works! It's clever, which makes it extensible, but also confusing. SummaryWith a URL like
The addFilter code that's called from the listings service then iterates through these fields to add The code that adds that clause looks like
So we'd end up with Other notes
Next steps
|
That summary is so helpful!! One question:
On first glance, it looks like the purpose of ListingFilterParams is to specify which fields could be filtered on, but it sounds like that's not the case? But maybe it's meant to be the case? I feel like this question concerns how the url string gets parsed into a |
Do you think it's worth having a discussion with Exygy about simplifying this or proposing our own alternative? |
I think so, yeah. Or at least making sure they're ok with my idea of mapping from filter name to database field. |
Upstream added a basic filtering capability that will conflict with ours.
They added it in bloom-housing#1359
It's probably a day's work to update our work to match.
The text was updated successfully, but these errors were encountered: