Skip to content

Pass along type info #39

@dpi

Description

@dpi

Pass along type info from a slot object.

Auto populate if coming from a #[Slots(bindPromotedProperties)])

Otherwise accept from a new Slot() as a string but validate and upcast.

Should accept strings but always computes to a PHPTYPE object of some kind and get stores in Slots.

An object should be used so we can abstract to a different validation system later (e.g symfony validator)

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