Skip to content

Conversation

@natebosch
Copy link
Member

Prepare for a potential breaking change in package:boolean_selector.
Currently the evaluate method takes an argument which is either an
Iterable<String> or a bool Function(String) which matches the
.toSet()contains tearoff on that Iterable. We might tighten that to
always take a bool Function(String) since the tearoff is easy to
handle at the calling side.

Prepare for a potential breaking change in `package:boolean_selector`. Currently the `evaluate` method takes an argument which is either an `Iterable<String>` or a `bool Function(String)` which matches the `.toSet()contains` tearoff on that Iterable. We might tighten that to always take a `bool Function(String)` since the tearoff is easy to handle at the calling side.
@natebosch natebosch merged commit 5543984 into master Dec 18, 2019
@natebosch natebosch deleted the boolean-selector-breaking branch December 18, 2019 23:31
natebosch added a commit that referenced this pull request Jan 24, 2020
The breaking changes were handled in #1125
natebosch added a commit that referenced this pull request Jan 24, 2020
The breaking changes were handled in #1125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 participants