Skip to content
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

Cleans up the Filtering API, Also Adds Ordering Functionality #75

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

plusplusben
Copy link
Contributor

  1. Change the signature of picard.FilterModel to accept a "FilterRequest" struct. This will allow us to expand the functionality of picard without adding new functions for every feature.

  2. Remove picard.FilterModelAssociations as it's covered in picard.FilterModel now.

  3. Remove picard.FilterModels as it's covered in picard.FilterModel now.

  4. Add the ability to specify fields to order by in a FilterModel request.

@plusplusben plusplusben self-assigned this Jun 21, 2019
Copy link
Contributor

@mochacat mochacat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up. It feels much better having one function to handle all types of filtering.

@plusplusben plusplusben merged commit 25fe2b0 into master Jun 24, 2019
@plusplusben plusplusben deleted the cleanup-filter-api-and-add-order-by branch June 24, 2019 14:04
@ghost ghost unassigned plusplusben Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants