loopback-sdk-angular
loopback-sdk-angular copied to clipboard
not compatible with loopback-boot@3
Description/Steps to reproduce
Install a LB 3 application with loopback boot 3.
Add a lot of models and boot scripts
run lb-ng server/server.js client/js/services/lb-services.js
Expected result
A client side representation of all the models in lb-services.js
Actual result is an lb-services.js file without any model
Additional information
I'm guessing it has something to do with loopback-boot3 booting async, and the sdk not waiting for the configs and models till their fully parsed?
Were you able to get it to work? I'm having a similar problem.
Hello, thank you for reporting the issue. Is it possible that loopback-boot@3 is not setting booting property and emitting booted event? Here is the code responsible for loading the app from a file and running the generator:
https://github.com/strongloop/loopback-sdk-angular-cli/blob/4360183c7541336608315e38f054451f1c104960/bin/lb-ng.js#L36-L44
I am afraid I don't have time to investigate this myself, but I am happy to help you if you decide to contribute a fix for this issue yourself.