-
Notifications
You must be signed in to change notification settings - Fork 214
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
Deprecate the export of package:matcher APIs #1978
base: master
Are you sure you want to change the base?
Conversation
Add a `replacedBy` transform for every member of the `package:matcher/expect.dart` library which changes only the URI.
PR Health |
@keertip @bwilkerson - Is there a way to handle a class moved to a different import? This seems to be working well to use
|
It appears that we don't currently support using I know that at one point we discussed adding a |
I filed dart-lang/sdk#57057 to track. Either solution sounds great. |
Tests should import the matching framework, either
package:matcher/expect.dart
, orpackage:checks/checks.dart
, or somethird party alternative.
package:matcher/expect.dart
toreplace the member with the
package:test/test.dart
URI.export
deprecated`.library
directive so the deprecation annotation isunambiguously applied to the export and not the entire library.
matcher
dependency andimport. Manually sort dependencies to satisfy a separate lint.