Skip to content
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

iOS plank -initWithModelDictionary:error: assumes dictionary is dictionary #279

Open
bolsinga opened this issue Oct 15, 2020 · 0 comments
Open

Comments

@bolsinga
Copy link
Contributor

This is reading JSON data from the network. If the type behind a key changes, it is simple to crash models if casting is used to pass a non-dictionary in.

Trust but Verify.

bolsinga pushed a commit that referenced this issue Oct 19, 2020
This may catch some bad casts in client code during development. This is basicallly a small first step towards #279.
bolsinga pushed a commit that referenced this issue Oct 20, 2020
)

This may catch some bad casts in client code during development. This is basically a small first step towards #279.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant