-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start * add tests * add test for inline discriminator * add checker for inline field * add jareds tests * fix inline discriminator check * add test for mismatched discriminator types * fix error message * fix one-of and subtype discriminator mismatch detection for ints * refactor conditionals * remove dead code * try to panic * move validation call and refactor tests * rename tests * upgrade go-assert * tidy up * debug * fixed it * ineffectual err * rm dead code * whitespace * rm dead code * rm unused * refactor to switch * make function private * use panicscontains * small change * add map change to validate type * hopefully fix interface type access * also lint * add oneof scope scope schema * dry out test * nolint function length on test * add inline default * remove import parens * finish function refactor * rm unnecessary lines * improve coverage * fix lint * rm comment * use a string discriminator for test * clarify scope scope schema * rm whitespace
- Loading branch information
Showing
9 changed files
with
565 additions
and
45 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 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
Oops, something went wrong.