Skip to content

Validate Array Like Table Options #2665

Open
@alex-courtis

Description

@alex-courtis

Options like renderer.special_files are validated only as a table; their contents are skipped as they are array-like.

Add functionality to validate the contents, in the above case strings.

Possibility:

local ACCEPTED_TYPES = {
  renderer = {
    special_files = "string[]",
  },

See #2655 : filters.custom cannot be validated as an array or a function.

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