Loopback validation on Properties who's types are other Models
问题 I have two Models defined; Location and Address, defined as follows: "address": { "properties": { "address1": { "type": "string", "required": true } }, "public": true, "dataSource": "db", "plural": "addresses" }, "location": { "properties": { "title": { "type": "string" }, "address":{ "type": "address", "required": true } }, "public": true, "dataSource": "db", "plural": "locations" } When I Create an object based on the address Model via the API Explorer, the required constraint on address1