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

Remove BSGDictSetSafeObject and BSGArrayAddSafeObject #928

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

nickdowell
Copy link
Contributor

@nickdowell nickdowell commented Dec 7, 2020

Goal

BSGDictSetSafeObject does not make our code safer - in fact it makes it more error prone because it means we can end up with [NSNull null] values in dictionaries, which then need to be guarded against when reading back from the dictionary (this is something our code does not currently do.)

Changeset

BSGDictSetSafeObject and BSGArrayAddSafeObject have been removed.

Testing

Tested by running unit tests.

@nickdowell nickdowell force-pushed the nickdowell/remove-safe-object-functions branch from 93cafce to d4cc31b Compare December 7, 2020 08:57
@nickdowell nickdowell marked this pull request as draft December 7, 2020 09:29
@nickdowell nickdowell force-pushed the nickdowell/remove-safe-object-functions branch from 8764f25 to 2d21405 Compare December 7, 2020 14:49
@nickdowell nickdowell force-pushed the nickdowell/remove-safe-object-functions branch from 2d21405 to 34d2ef0 Compare December 7, 2020 16:05
@nickdowell nickdowell marked this pull request as ready for review December 7, 2020 16:07
@nickdowell nickdowell merged commit 74e4bf6 into next Dec 8, 2020
@nickdowell nickdowell deleted the nickdowell/remove-safe-object-functions branch December 8, 2020 09:42
@kstenerud kstenerud mentioned this pull request Dec 8, 2020
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

Successfully merging this pull request may close these issues.

2 participants