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
Add option to leave out definitions for common modules
When connecting to several LoopBack APIs from an Angular app,
multiple definitions of LoopBackAuth and LoopBackResource will
'step on' each other, resulting in unpredictable behavior.
This change keeps the default behavior consistent, but will omit
the module block that generates the LoopBackAuth,
LoopBackAuthRequestInterceptor, and LoopBackResource
components if a fourth truthy parameter (excludeCommonModules) is
passed to generateServices.
This will enable loopback-sdk-angular to more seamlessly be used with
multiple-API architectures, without having to manually delete sections
sections of code generated by the SDK.
0 commit comments