-
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: rework field strictness and array decoding
Instead of having these concerns tied together on a single type, separate it into strictStub (field checking) and arrayStub (decoding). Pull out the logic for assigning the argument wrapper into its own method, and properly handle the nesting if both are selected (decoding is outer).
- Loading branch information
1 parent
e482ade
commit c3b11f5
Showing
2 changed files
with
44 additions
and
20 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