Check that entity properties match thing type in the validator.
* Generate new code in entity_names to check whether an entity type is descended from another (including itself). * Use generated code in validator to validate nested entity types. They should match or be descended from one of the thing_types in the property config. Bug: 1065513 Change-Id: I0e2cfecf29e7b85a3f5f89c98b00ff708fb4ee19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134932Reviewed-by:Becca Hughes <beccahughes@chromium.org> Commit-Queue: Sam Bowen <sgbowen@google.com> Cr-Commit-Position: refs/heads/master@{#756306}
Showing
Please register or sign in to comment