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
{{ message }}
Repository navigation
Support multiple lbServices pointing to different servers #250
Currently the generator can make unique model names for the whole module, but there are other included angular objects that clash with the global angular namespace.
This causes a problem when trying to use 2 lbServices, each pointing to a different server.
e.g. in config when setting up the URL: LoopBackResourceProvider.setUrlBase(myURLBaseForFirstServer);
there is no way to setup the base URL for myURLBaseForSecondServer
LoopBackResource, LoopBackAuthRequestInterceptor, LoopBackAuth need to have an optional suffix to allow different base URLs.
e.g.
LoopBackResourceFirstServerProvider.setUrlBase(myURLBaseForFirstServer);
LoopBackResourceSecondServerProvider.setUrlBase(myURLBaseForSecondServer);
Activity
jdschreck commentedon Apr 4, 2017
What is that status of this capability? Has it been released yet? I am running into this issue also.
bajtos commentedon Apr 6, 2017
@jdschreck See #251 which was never finished. Would you like to pick up the work and finish the pull request to a state where it can be landed?
Traksewt commentedon Apr 6, 2017
@bajtos @jdschreck sorry for delay, I will finish unit tests and push up today.
bajtos commentedon Jun 7, 2017
I believe this has been addressed by #269.