Closed nikitadol closed 3 years ago
I faced with the same problem.
Temporary fix is :
dev_dependencies:
analyzer: ^1.7.2
but yeah, update required soon.
What's about this issue? Many packages have moved to analyzer 2.0.0.
@hivedb Would be great to update it
PR created https://github.com/hivedb/hive/pull/765
@RicardoRB @themisir looks it doesn't work, nothing generated:
hive_generator:
git:
url: https://github.com/hivedb/hive.git
ref: master
path: hive_generator
@RicardoRB @themisir looks it doesn't work, nothing generated:
hive_generator: git: url: https://github.com/hivedb/hive.git ref: master path: hive_generator
I didn't get what you mean
@RicardoRB Thanks for looking into I mean hive_generator generate nothing in this case
Flutter 2.6.0-0.0.pre • channel dev
json_serializable: ^5.0.0
dev_dependencies:
build_runner: ^2.1.1
flutter_gen_runner:
freezed: ^0.14.5
auto_route_generator: ^2.3.0
hive_generator:
git:
url: https://github.com/hivedb/hive.git
ref: master
path: hive_generator
pedantic: ^1.11.1
@zs-dima is right, generator doesn't work starting with json_serializable v5 see #795
Would like a solution for this too please
Would like a solution for this too please
The best solution I found for now - to use SQLite/Drift instead of discontinued Hive. It is reliable and has the same performance in case of load data in memory, plus it support complex queries.
Would like a solution for this too please
The best solution I found for now - to use SQLite/Drift instead of discontinued Hive. It is reliable and has the same performance in case of load data in memory, plus it support complex queries.
I see. Thanks for the tip. Considered ObjectBox as well but it faces the same problem with freezed.
Would like a solution for this too please
The best solution I found for now - to use SQLite/Drift instead of discontinued Hive. It is reliable and has the same performance in case of load data in memory, plus it support complex queries.
I see. Thanks for the tip. Considered ObjectBox as well but it faces the same problem with freezed.
OpenBox has no FlutterWeb support and is not so reliable as SQLite, so I can see no advantages to use it.
Would like a solution for this too please
The best solution I found for now - to use SQLite/Drift instead of discontinued Hive. It is reliable and has the same performance in case of load data in memory, plus it support complex queries.
I see. Thanks for the tip. Considered ObjectBox as well but it faces the same problem with freezed.
OpenBox has no FlutterWeb support and is not so reliable as SQLite, so I can see no advantages to use it.
I see. Thank you.