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

Create the Filtering Class #5

Open
3 tasks
vforgione opened this issue Aug 23, 2018 · 0 comments
Open
3 tasks

Create the Filtering Class #5

vforgione opened this issue Aug 23, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@vforgione
Copy link
Member

Requests to the API should be able to have filters applied. JS doesn't offer some of the nice shortcuts we get in Python, but that doesn't mean we can't build out some cool things here.

We need a filter class, maybe F is still a good enough name. That class can be initialized with either nothing or a tuple for the first filter.

We also need to build out the ability to add filters, join filters on key (as a result of adding a filter with the same name), and replace filters.

  • constructor
  • addParam (look at the Python &= overload)
  • overrideParam (look at the Python |= overload)
@vforgione vforgione added the Task label Aug 23, 2018
@vforgione vforgione added this to the Sprint 4 milestone Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants