Skip to content

FLAPI-154: Add support for block mixins. #44

@UnquietCode

Description

@UnquietCode

Continuing the 'overlays' idea, it would be nice if I could add an existing block as a 'mixin' to the current one. This would happen before validation, so all of the normal rules about method name collisions would apply.

A mixin is a list of zero or more block references which would be merged into the current block. The API might look like this:

// in descriptor
.addMethod("addMixin(String blockName)").any()

// in the builder
.addMixin(String blockName)

Imported from JIRA
Originally reported by: UnquietCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions