-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support for nil and invalid value in the encoding tree (#42)
- [x] Replace nil errors by nil wafObject values - [x] Replace invalid types by invalid wafObject values - [x] Remove most errors from encoder functions - [x] Keep map key even if the encoded value is nil or invalid - [x] Keep struct field even if the encoded value is nil or invalid - [x] Discard nil or invalid wafObject in arrays - [x] Change current tests to match new implemntation - [x] Write Run() tests to check if the waf supported these types - [x] Refactor `EncoderTest` testsuite because it does not test was we would like anymore --------- Signed-off-by: Eliott Bouhana <[email protected]>
- Loading branch information
1 parent
f4a6958
commit 5296850
Showing
8 changed files
with
869 additions
and
965 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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.