-
Notifications
You must be signed in to change notification settings - Fork 91
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
typeMismatch "Not an array" #79
Comments
Plus. Also ran into this problem. Do you find answer? |
No :( |
Also ran into this problem :(
Throws the following error: "SomeValue" and "SomeOtherValue" are vars within the SubStruct |
Okay Sorry :/ My fault. It would be nice if there was a little note in the error message if that's feasible. It may be better if FirebaseDecoder is renamed to something like RealtimeDBDecoder |
I have a model where one of the properties is a dictionary like this:
This works fine, it decodes and encodes just fine. However, I want to use the https://github.com/pointfreeco/swift-tagged to add type-safety to my models instead of using strings everywhere. That also means that I want to change the above model to something like this:
Even though that should work just fine with Codable, I am getting this error:
Not sure why it's looking for an array?
The text was updated successfully, but these errors were encountered: