forked from konveyor/tackle2-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 [MTA-1349] Fix Questionnaire/Assessment validation (konveyor#570)
The validator used by Gin will validate nested structs, but will not validate a slice of structs unless the binding field tag specifies the `dive` keyword. This needs to be present on every level of nested slices of structs. Fixes https://issues.redhat.com/browse/MTA-1349 Signed-off-by: Sam Lucidi <slucidi@redhat.com>
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 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