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
It looks like example/context/app.js was removed at some point. loopbackio/loopback.io#227 removes this link, so it won't be an issue any longer once that PR is merged.
loopback deprecated loopback.runInContext() is deprecated. See https://docs.strongloop.com/display/APIC/Using%20current%20context for more details.
That URL does not have any details about this command replacement.
According to the docs, currentcontext is discouraged, the linked examples on the docs are pointing to 404
https://github.com/strongloop/loopback/blob/master/example/context/app.js
The linked github ticket is huge, not useful at all.
So how can we access current user or mimic another user?
Right now it is done via currentContext and runInContext.
The text was updated successfully, but these errors were encountered: