New Schema.org tests should work with nested objects #19
Labels
bug
Something isn't working
pre-release
Issues that do not impact the live version, only the pre-release version
Milestone
Describe the bug
The new Schema.org property tests - that check if property names valid or not - should work with nested objects.
Note: Applies to the new Schema.org property tests are in master but not in the release version.
To Reproduce
Nested property names (ie any property that is not a top level property) are not currently checked for validity. See existing
invalid properties
fixture for an example of an error that is not caught (only some of the errors in the example are caught by the current tests).Expected behaviour
Nested property names should be checked to see if they are valid and should raise an error if they are not valid on a nested property. This might prove tricky to implement as some properties can be one of many different types and that might complicate the logic.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: