fix_data.yaml import element #44892
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
dart-cli-fix
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
I'm not sure if it is common knowledge but I've been seeing commits in dart-lang/sdk and flutter/flutter about this fix_data.yaml format for adding fixes. Just took a closer look at making one for my own package / packages that I contribute to which are going through some breaking changes / deprecations.
This wouldn't be a frequent fix, but in some cases packages have non-standard imports: e.g. (
package:riverpod/all.dart
vspackage:riverpod/riverpod.dart
). Currently the riverpod package is deprecating theall.dart
import in favor of exporting everything throughriverpod.dart
. However, I didn't find a way to have the element for the fix be an import. Would this be possible to support?The text was updated successfully, but these errors were encountered: