Skip to content

Block Bindings: Expose bindable attributes through an annotation in the block definition #64756

Open
@zaguiini

Description

@zaguiini

What problem does this address?

As a plugin developer, there is currently no way of knowing whether or not a block attribute is bindable.

My current workaround is to hard code the list of known bindable attributes, but that might soon get outdated.

What is your proposed solution?

Add a new annotation to the block attribute definition explicitly stating that the attribute is bindable. Something like bindable: boolean.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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