You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When extending SequenceMacro to create own initialization behaviour, I want to use injection mechanism to create payloads and guards for the commands inside macro.
Current Behavior
prepare() method is called from the AbstractMacro constructor, which prevents injection to the super class.
Possible Solution
prepare() method should be called after all constructors have been called.
Not being able to inject event that has started the macro through mapping, creates the need for additional code, which would allow me to access data from the said event.
The text was updated successfully, but these errors were encountered:
Expected Behavior
When extending SequenceMacro to create own initialization behaviour, I want to use injection mechanism to create payloads and guards for the commands inside macro.
Current Behavior
prepare() method is called from the AbstractMacro constructor, which prevents injection to the super class.
Possible Solution
prepare() method should be called after all constructors have been called.
Steps to Reproduce (for bugs)
@inject(AppEvent) private _appEvent: AppEvent;
Context
Not being able to inject event that has started the macro through mapping, creates the need for additional code, which would allow me to access data from the said event.
The text was updated successfully, but these errors were encountered: