dio-http-cache icon indicating copy to clipboard operation
dio-http-cache copied to clipboard

Json Serializable

Open harithwick opened this issue 2 years ago • 4 comments

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

harithwick avatar May 03 '22 03:05 harithwick

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.)

zystudios avatar May 07 '22 10:05 zystudios

you can use from this PR #114

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

Credit to @danilof

kiratheone avatar Jun 09 '22 00:06 kiratheone

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

dependency_overrides:
  # for dio_http_cache
  json_serializable: ^6.2.0

dokkaebi avatar Jul 27 '22 22:07 dokkaebi

来信已收到

TianyongWang avatar Jul 27 '22 22:07 TianyongWang