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

because signature depends on both json_serializable ^6.9.2 and isar_generator 3.1.8, version solving failed. #115

Open
3 tasks done
UnluckyY1 opened this issue Dec 21, 2024 · 3 comments
Assignees

Comments

@UnluckyY1
Copy link

UnluckyY1 commented Dec 21, 2024

Steps to Reproduce

  • trying to update json_serializable to the last version

resolving dependencies...
Because isar_generator 3.1.8 depends on source_gen ^1.2.2 and json_serializable >=6.9.1 depends on source_gen ^2.0.0, isar_generator 3.1.8 is incompatible with json_serializable >=6.9.1.
So, because signature depends on both json_serializable ^6.9.2 and isar_generator 3.1.8, version solving failed.

Code sample

 flutter pub get

Details

  • Platform: ---
  • Flutter version: 3.27.1
  • Isar version: 3.1.8

  • I searched for similar issues already
  • I filled the details section with the exact device model and version
  • I am able to provide a reproducible example
@FlawLessx
Copy link

try lowering json_serializable version or dependency overrides source_gen to ^1.2.2

@saropa
Copy link

saropa commented Jan 8, 2025

We're having similar problems — other dependencies are falling behind too. But we understand the difficulty here — especially juggling 2 versions!

@arnab
Copy link

arnab commented Jan 20, 2025

Similar dependency issues with riverpod_generator, freezed (and possibly more). It would be awesome to get this unblocked!

@vicenterusso vicenterusso self-assigned this Jan 20, 2025
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