Skip to content

Array of Raw types fails validation #4

@aamccaslin

Description

@aamccaslin

Getting the 'Invalid type, expected array' error on the array when trying to make an array of Raws.

I think this is happening because the raw template doesn't include schema-validate so the normal tv4 validation isn't run. But the array is attempting to validate everything inside of it and doesn't know how to handle the nested data. (It seems to fail in validateType for the data - tv4 thinks the data is a string but the only allowed type is 'variant')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions