hive
hive copied to clipboard
Exception when changing the typeId
Steps to Reproduce Change the typeId of an existing adapter from 1 to 2
Exception
Unhandled Exception: HiveError: Cannot read, unknown typeId: 43. Did you forget to register an adapter?
Never used the typeId: 43. When I remove the app and reinstall, everything works as it should. I made a few breaking changes in the model that is way I would like to change the typeId. Anyone facing the same issue? How is the default procedure when a model has breaking changes?
Version
- Platform: iOS, Android
- Flutter version: 2.10.4
- Hive version: 2.1.0
check the conversation on #399