Problem
vaden_class_scanner 1.0.2 pins analyzer to >=8.0.0 <9.0.0, which conflicts with drift_dev >=2.32.0 that requires analyzer ^10.0.0.
This makes it impossible to use the latest version of drift alongside Vaden:
Because no versions of vaden_class_scanner match >1.0.2 <2.0.0
and vaden_class_scanner 1.0.2 depends on analyzer ^8.0.0,
vaden_class_scanner ^1.0.2 requires analyzer ^8.0.0.
And because drift_dev >=2.32.0 depends on analyzer ^10.0.0,
vaden_class_scanner ^1.0.2 is incompatible with drift_dev >=2.32.0.
So, because my_app depends on both drift_dev ^2.32.0 and vaden_class_scanner ^1.0.2,
version solving failed.
Current constraint
# vaden_class_scanner 1.0.2 pubspec.yaml
analyzer: ">=8.0.0 <9.0.0"
Suggested fix
Widen the analyzer constraint to support newer major versions:
analyzer: ">=8.0.0 <13.0.0"
Or, if the API surface used is stable:
The same issue may also apply to source_gen, build, and dart_style if their constraints are similarly narrow.
Workaround
Downgrade drift to ^2.31.0 which still uses analyzer ^8.0.0.
Environment
- Dart SDK: 3.10.0
- vaden: 1.0.2
- vaden_class_scanner: 1.0.2
- drift: 2.32.0 (desired)
- drift_dev: 2.32.0 (desired)
Problem
vaden_class_scanner 1.0.2pinsanalyzerto>=8.0.0 <9.0.0, which conflicts withdrift_dev >=2.32.0that requiresanalyzer ^10.0.0.This makes it impossible to use the latest version of
driftalongside Vaden:Current constraint
Suggested fix
Widen the
analyzerconstraint to support newer major versions:Or, if the API surface used is stable:
The same issue may also apply to
source_gen,build, anddart_styleif their constraints are similarly narrow.Workaround
Downgrade
driftto^2.31.0which still usesanalyzer ^8.0.0.Environment