You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This package will be discontinued. We could consider adding an API based on
checks
, but I think it would be better to usebool Function(T)
and we can (in some other place) have utilities to easily convert aMatcher
or aCondition
to the predicate callback.I think most of the places that accept a
Matcher
today currently are typed asObject
, 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.The text was updated successfully, but these errors were encountered: