Using the REST endpoint for creating a variant(Android in this case), i didn't supply a "name" field and was expecting to get an error in return, but the variant creation was successful.
I noticed that the Variant class that the AndroidVariant extends from has a "@Size(min = 1, max = 255)" on the name field. Should there be a "@NotNull" similiar to the PushApplication model class?
|