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

Use a non-destructive map call when transforming an Array filter #546

Merged

Conversation

jonkgrimes
Copy link
Contributor

Addresses #545

Description has most of the detail: simply replace the map! call in ArrayFilter#process to reassign and use map.

I only added a test for the ArrayFilter class but happy to add a more comprehensive integration test.

Happy for any feedback!

`map` to avoid mutating the original passed in Array instance.
@AaronLasseigne AaronLasseigne changed the base branch from main to next October 22, 2022 02:06
@AaronLasseigne AaronLasseigne merged commit 94850dc into AaronLasseigne:next Oct 22, 2022
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.

2 participants