isar / isar/hive

hive_generator ^0.7.0+2 versioning issue with characters ^0.3.0 versus flutter test "characters 1.0.0"

Open
#347 16 comments 22 reactions 1 assignee Claimed by @simc View on GitHub
problem
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

Got this after downloading the flutter master from last night:

Running "flutter pub get" ...
Because hive_generator >=0.6.0 depends on dartx ^0.2.0 which depends on characters ^0.3.0, hive_generator >=0.6.0 requires characters ^0.3.0.

And because every version of flutter_test from sdk depends on characters 1.0.0, hive_generator >=0.6.0 is incompatible with flutter_test from sdk.

So, because your app depends on both flutter_test any from sdk and hive_generator ^0.7.0+2, version solving failed.
pub get failed (1; So, because your app depends on both flutter_test any from sdk and hive_generator ^0.7.0+2, version solving failed.)

Right now, my solution is just to take out hive_generator from my pubspec.yaml since my data is more or less stable at this point. (and, additionally, I can edit the typeAdapters based on what the generator has created before. However, I can see where this will be an issue when I need to create something new.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.