-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Rework built-in models to use Model.remoteMethod
#622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is needed for loopback-connector-remote authorization. Addresses strongloop#622.
This is needed for loopback-connector-remote authorization. Addresses strongloop#622.
2.10.1 * Optimize the creation of handlers for rest (Raymond Feng) * Add a link to gitter chat (Raymond Feng) * Added context middleware (Rand McKinney) * Use User.remoteMethod instead of loopbacks method This is needed for loopback-connector-remote authorization. Addresses #622. (Berkeley Martinez)
@bajtos |
@loay I am proposing to mark Thoughts? |
Other than that (or after that is landed?), this issue can be closed, indeed. |
I misunderstood, I thought the PR merged before is what was required. |
Rework all built-in models to register remoting metadata via
Model.remoteMethod
instead ofloopback.remoteMethod
and pass method name instead of method function as the first argument.That way it will be easier to override methods in subclassing models - see #619.
The text was updated successfully, but these errors were encountered: