Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

FEATURE: Expose fusion object name #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grebaldi
Copy link
Member

With this, you will have in-fusion access to the fusionObjectName of the current component, like this:

prototype(Vendor.Site:Component.MyComponent) < prototype(PackageFactory.AtomicFusion:Component) {
    componentName = ${this.fusionObjectName}
    // returns Vendor.Site:Component.MyComponent
}

This is very useful for reflection based Features like template discovery or CSS modules.

@grebaldi grebaldi requested a review from mficzel January 12, 2018 06:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants