k-paxian / dart-json-mapper

Serialize / Deserialize Dart Objects to / from JSON
https://pub.dev/packages/dart_json_mapper
Other
399 stars 33 forks source link

2.2.4 version cannot pub get successfully because of meta and path dependency #188

Closed likeconan closed 2 years ago

likeconan commented 2 years ago

Hi,

Thanks for fixing #187 issue. When I try to get it, the depends error happened like below:

Because every version of flutter_test from sdk depends on path 1.8.1 and dart_json_mapper >=2.2.4 depends on path ^1.8.2, flutter_test from sdk is incompatible with dart_json_mapper >=2.2.4.
Because dart_json_mapper >=2.2.4 depends on meta ^1.8.0 and every version of flutter from sdk depends on meta 1.7.0, dart_json_mapper >=2.2.4 is incompatible with flutter from sdk.

Flutter version 3.0.1 stable

flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (3 weeks ago) • 2022-05-19 15:50:29 -0700
Tools • Dart 2.17.1 • DevTools 2.12.2

Can we just use meta 1.7.0 and path 1.8.1 as before?

k-paxian commented 2 years ago

Sure mate, sorry for blocking you again 😄