Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json Serializable #113

Open
harithwick opened this issue May 3, 2022 · 4 comments
Open

Json Serializable #113

harithwick opened this issue May 3, 2022 · 4 comments

Comments

@harithwick
Copy link

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
Copy link

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
Copy link

kiratheone commented Jun 9, 2022

you can use from this PR #114

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

Credit to @danilof

@dokkaebi
Copy link

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

dependency_overrides:
  # for dio_http_cache
  json_serializable: ^6.2.0

@TianyongWang
Copy link

TianyongWang commented Jul 27, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants