I am creating a class to validate JSON body of requests. When I use the method %ValidateObject to check errors in the object, if I define some properties with %DynamicObject or %DynamicArray and use the Required parameter, this method does not work, it ignores validation, only works with properties %String, %Integer etc.
Class test.Example Extends%RegisteredObject
{
Property id As%Integer [ Required ];Property name As%String [ Required ];Property fieldOptions As%DynamicArray [ Required ];
Method %OnNew(id As%Integer, name As%String, fieldOptions As%DynamicArray) As%Statu
.png)
.png)


.png)
.png)
.png)