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
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:
Imported from JIRA
Originally reported by: UnquietCode