Skip to content

null error when data is passed "null" when adding addFormat or defineKeword  #278

@geetikabeskhiyar

Description

@geetikabeskhiyar

@geraintluff, introduced a custom format to accept null or any accepted data type as input value. But somewhere in the tv4 code the null check is being executed even before it actually checks for the format and hence tv4 throws a null error before checking the custom format.
Can any changes be done to move the null check in the library in such a way that addFormat or defineKeword do not throw error even if we send null as the data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions