Saving a HiveObject, with Another HO as property - whose Adapter is not registered, succeeds. But fails to load the Object on hot-reload.
Open
problem
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
When a `HiveObject(1)` Adapter is not registered and is used in another `HiveObject(2)` as a property, `box.add()` succeeds with no visible issue for `HiveObject(2)` . But when it is Hot-Reloaded, the app fails to get the value.
It could be confusing when there are many adapters and the error showed, only after hot restart, is just
Expected <> but got null.
**Version**
- Platform: Android, Windows, Web
- Flutter version: 2.2.2 Beta
- Hive version: 2.0.4
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.