hurshi / dio-http-cache

http cache lib for Flutter dio like RxCache
Apache License 2.0
274 stars 223 forks source link

Json Serializable #113

Open harithwick opened 2 years ago

harithwick commented 2 years ago

Please update this package so that I can upgrade to the latest version

Running "flutter pub get" in QPayFlutterMobile_WEB_Branch...
Because dio_http_cache >=0.3.0 depends on json_serializable ^4.1.4 and quicklypayit depends on json_serializable ^6.2.0, dio_http_cache >=0.3.0 is forbidden. So, because quicklypayit depends on dio_http_cache ^0.3.0, version solving failed. pub get failed (1; So, because quicklypayit depends on dio_http_cache ^0.3.0, version solving failed.) Process finished with exit code 1

zystudios commented 2 years ago

me too...

Because app depends on dio_http_cache ^0.3.0 which depends on json_serializable ^4.1.4, json_serializable ^4.1.4 is required. So, because app depends on json_serializable ^6.1.4, version solving failed. pub get failed (1; So, because app depends on json_serializable ^6.1.4, version solving failed.)

kiratheone commented 2 years ago

you can use from this PR #114

dio_http_cache:
    git: https://github.com/danilof/dio-http-cache

Credit to @danilof

dokkaebi commented 2 years ago

Another workaround is to specify an override in pubspec.yaml:

dependency_overrides:
  # for dio_http_cache
  json_serializable: ^6.2.0
TianyongWang commented 2 years ago

来信已收到