Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove "required" binding from Deployable bool field (#341)
* fix: remove "required" binding from Deployable bool field If the Deployable bool field is `false`, the validation from the "required" tag will fail, as it's considered the zero-value for bools. In our case both `true` and `false` are valid, so there's no need to use the "required" tag. go-playground/validator#713 * fix: handle duplicated key error for group creation
- Loading branch information
Showing
5 changed files
with
13 additions
and
5 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