Open PhilippeCorreges opened 5 years ago
Write other if any:
If I do not expose USER to REST, like recommended by Loopback, why do I receive the warnings :
WARNING in ./src/app/shared/auth.guard.ts 29:69-76 "export 'UserApi' was not found in './sdk/services'
WARNING in ./src/app/shared/auth.guard.ts 29:96-103 "export 'UserApi' was not found in './sdk/services'
Maybe is it another issue ?
Thanks and Regards,
Also if I set in model-config.json:
"User": { "dataSource": "database", "public": true },
no more warning and also, the app is working fine. That means that having User public set to true is mandatory ....
What type of issue are you creating?
What version of this module are you using?
Write other if any:
Please add a description for your issue:
If I do not expose USER to REST, like recommended by Loopback, why do I receive the warnings :
WARNING in ./src/app/shared/auth.guard.ts 29:69-76 "export 'UserApi' was not found in './sdk/services'
WARNING in ./src/app/shared/auth.guard.ts 29:96-103 "export 'UserApi' was not found in './sdk/services'
Maybe is it another issue ?
Thanks and Regards,