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

Revert "Fixes #159: Adds dict support for DefaultFilter" #387

Merged
merged 1 commit into from
Jan 17, 2020

Conversation

boulter
Copy link
Contributor

@boulter boulter commented Jan 17, 2020

Reverts #386 as it's breaking some internal HubSpot builds.

@boulter boulter merged commit f2b4215 into master Jan 17, 2020
@boulter boulter deleted the revert-386-gabru-md-fix-159 branch January 17, 2020 20:34
@gabru-md
Copy link
Contributor

@boulter why were the changes reverted? 😅

@boulter
Copy link
Contributor Author

boulter commented Jan 17, 2020

It broke some of our builds because the change is not backwards compatible. It's also ambiguous which method will be called, especially if there are no varargs. We have a couple of options.

  • Name the method something else like doFilter.
  • Use the existing AdvancedFilter which already supports named arguments.

@gabru-md
Copy link
Contributor

@boulter using AdvancedFilter makes sense I tried it on my local machine.
I'll create a PR so that you can review and perhaps that won't break anything

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