Skip to content

Commit

Permalink
Update model_variables.mustache (#7074)
Browse files Browse the repository at this point in the history
Recursive validate non primitive objects
  • Loading branch information
Starkmann committed Apr 13, 2021
1 parent 29c1688 commit 7a1f7b2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
* @SerializedName("{{baseName}}")
{{#required}}
* @Assert\NotNull()
{{^isPrimitiveType}}
* @Assert\Valid()
{{/isPrimitiveType}}
{{/required}}
{{#isEnum}}
{{#isContainer}}
Expand Down

0 comments on commit 7a1f7b2

Please sign in to comment.