Skip to content

Validate props, 🔪 all args #1300

Open
@rmfarrell

Description

@rmfarrell

Bug

I think the currentargs is overloaded and doesn't validate incoming data. This causes misconfigured yaml files from clay to fail silently or without really helpful error messages, and it makes the kiln internal code a bit hard to reason.

Proposed Solution/Implementation

I think we should stop using this prop in favor of passing property values to the component individually. Vue has built-in property validation right at the component level, where you'd want it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions