Skip to content

Commit 856d957

Browse files
Generator tests: fix broken part-partof due to breaking dart_style changes
dart_style depends on analyzer 8. It seems using a dependency override does not influence version solving of pub. But making analyzer an explicit dependency does. Follow-up to 3791870 Generator tests: fix broken part-partof due to breaking analyzer changes
1 parent 132a71a commit 856d957

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generator/integration-tests/part-partof/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ dev_dependencies:
1717
build_test: '^2.1.3'
1818
io: '^1.0.4'
1919
path: '^1.8.3'
20+
# analyzer 7.4.0 introduced breaking API changes in a minor release, breaking json_serializable
21+
# https://github.com/google/json_serializable.dart/issues/1485
22+
analyzer: '<=7.3.0'
2023

2124
dependency_overrides:
2225
objectbox:
2326
path: ../../../objectbox
2427
objectbox_generator:
2528
path: ../../
26-
# analyzer 7.4.0 introduced breaking API changes in a minor release, breaking json_serializable
27-
# https://github.com/google/json_serializable.dart/issues/1485
28-
analyzer: '<=7.3.0'

0 commit comments

Comments
 (0)