-
Notifications
You must be signed in to change notification settings - Fork 405
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
Unable to read List<String> #33
Comments
From the docs
|
Do you have an example? I tried casting in the read function itself and it still fails. |
I got it to work by changing the read code in the generator to the following:
Would it be worth changing the generator to have this as the default case for processing list in Adapters? |
Which version of |
hive_generator: ^0.4.0+1 It was trying to cast like this
but would still throw the same error. |
Thanks, I'll investigate that. Edit: Which |
Could you please share the output of |
|
Hive version: Hivehive: ^0.5.0 |
This is fixed with |
I keep getting the following error from the autogenerated adapter.
I/flutter (30530): type 'List<dynamic>' is not a subtype of type 'List<String>'
My schema is below. The put works fine. It errors when I call get.
The text was updated successfully, but these errors were encountered: