-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support NSNull in OpenAPIContainer types (#109)
### Motivation When receiving containers from adopter code, there might be NSNull values, which represent a nil value. Previously, this value would not be treated as nil, instead it'd throw an error as an unrecognized type. ### Modifications Handle NSNull and treat it as nil. ### Result You can provide a container with an NSNull nested value and it'll get encoded correctly. ### Test Plan Added a unit test.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters