Github user vladimir-kotikov commented on the pull request:

    https://github.com/apache/cordova-lib/pull/235#issuecomment-110038030
  
    @kamrik, thanks for feedback.
    
    Dependency injection of cordova logic to platform was our very first idea, 
but in addition to limitations, you mentioned, it seems that it also will be 
impossible to use PlatformAPI without CLI in this case.
    
    Another approach, we've been thinking about - factoring out common classes 
and utilities, like ConfigHelper, superspawn, Requirements-related stuff, etc., 
to separate module, which then can be used by platforms and cordova-lib. This 
approach is quite similar to @TimBarham's PR for cordova-serve: 
https://github.com/apache/cordova-lib/pull/238
    
    What do you think about this?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to