-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handler: remove NewStrict and add SetStrict
Allow the caller to choose whether strict field checking is desired. The default for NewPos and NewStruct remains true. - Remove the NewStrict constructor. - Remove a now-obsolete regression test for NewStrict. - Update tests for NewStrict to use Check + SetStrict(true).
- Loading branch information
1 parent
3e34d29
commit e482ade
Showing
2 changed files
with
14 additions
and
24 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