Refactor skill into different files #183
Replies: 4 comments
-
@DEADSEC-SECURITY I am working upon a javascript version of a HA Alexa dialogue. It's very early, though. I am currently working upon the concept, how to split it into multiple files, too. From the
The concept of wiring up is all about dependency injection. This allows me to easily test each component separately by injecting mock objects. Dependency injection is rather the style of Java than JavaScript, but I like to work this way. It's still too early to show any dependency injection, though. After the WE there will be a little more. Maybe the wording I work out can give inspirations for the naming of the python classes. |
Beta Was this translation helpful? Give feedback.
-
Stale issue message |
Beta Was this translation helpful? Give feedback.
-
Sorry didn't see this in my notifications. Ill check out the project. |
Beta Was this translation helpful? Give feedback.
-
Converted to a discussion for now. |
Beta Was this translation helpful? Give feedback.
-
For readability purposes splitting the skills into multiple files would be interesting and now with import feature shouldn't cause skill installation problems.
Beta Was this translation helpful? Give feedback.
All reactions