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

Remove the dependency on package:matcher #271

Open
natebosch opened this issue Mar 23, 2023 · 0 comments
Open

Remove the dependency on package:matcher #271

natebosch opened this issue Mar 23, 2023 · 0 comments

Comments

@natebosch
Copy link
Member

This package will be discontinued. We could consider adding an API based on checks, but I think it would be better to use bool Function(T) and we can (in some other place) have utilities to easily convert a Matcher or a Condition to the predicate callback.

I think most of the places that accept a Matcher today currently are typed as Object, so we can probably add support for the predicate, migrate usages that must roll atomically to use that API, then publish the breaking change that makes the signature a function type.

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

No branches or pull requests

1 participant