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
you should add support for custom coffeescript model files, in common/models
like customer.json and customer.coffee
in compiler.js .coffee is mentioned, but this file extension is not supported.
Also support for having multiple model JavaScript files for same model in multiple folders, and all of which getting run at boot, so you could separate some logic for client and server.
Also support for having multiple model JavaScript files for same model in multiple folders, and all of which getting run at boot, so you could separate some logic for client and server.
You should be able to create client-only and server-only models by extending the shared model:
@offlinehacker Also support for having multiple model JavaScript files for same model in multiple folders, and all of which getting run at boot, so you could separate some logic for client and server.
How do we load plugin modules, for example, loopback-passport, loopback-push-notification which typically has dependencies to app and also contributes middlewares/models/datasources?
I am afraid we don't have bandwidth to follow up on this discussions in v3.0. @raymondfeng is working on some related changes to loopback-boot in #181, that's all we can get now. I am closing this issue in favour of the other issues mentioned in the description at the top.
Activity
[-]Ideas for v2.0[/-][+]Ideas for v3.0[/+]Coobaha commentedon Aug 2, 2014
you should add support for custom coffeescript model files, in common/models
like customer.json and customer.coffee
in compiler.js .coffee is mentioned, but this file extension is not supported.
offlinehacker commentedon Aug 2, 2014
Also support for having multiple model JavaScript files for same model in multiple folders, and all of which getting run at boot, so you could separate some logic for client and server.
bajtos commentedon Aug 11, 2014
You should be able to create client-only and server-only models by extending the shared model:
bitmage commentedon Oct 14, 2014
@Coobaha I've submitted a pull request for this:
#55
bajtos commentedon Oct 14, 2014
See this discussion in LoopBack: strongloop/loopback#397
bajtos commentedon Oct 14, 2014
We have discussed the component architecture here: https://github.com/strongloop/loopback-example-component/issues/4
#50 implemented support for async boot scripts.
bajtos commentedon May 24, 2016
I am afraid we don't have bandwidth to follow up on this discussions in v3.0. @raymondfeng is working on some related changes to loopback-boot in #181, that's all we can get now. I am closing this issue in favour of the other issues mentioned in the description at the top.