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

refactor: make it easier to write filters #333

Merged
merged 1 commit into from Jun 6, 2023

Conversation

pulsejet
Copy link
Contributor

With an "apply" function, you only need to pass it a list of curried to filters to apply (in that order). This makes the filters much more maintainable and easier to read (there's no impact on performance since the number of function calls is exactly equal).

With an "apply" function, you only need to pass it a list of
curried to filters to apply (in that order). This makes the filters
much more maintainable and easier to read (there's no impact on
performance since the number of function calls is exactly equal).

Signed-off-by: Varun Patil <radialapps@gmail.com>
@pulsejet
Copy link
Contributor Author

Any thoughts on this @AhmeeedMostafa

@pulsejet
Copy link
Contributor Author

pulsejet commented Jun 5, 2023

Bump

@AhmeeedMostafa AhmeeedMostafa changed the base branch from master to v4-dev June 6, 2023 11:08
@AhmeeedMostafa AhmeeedMostafa merged commit b26c0b5 into scaleflex:v4-dev Jun 6, 2023
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.

None yet

2 participants