-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi!
I've found a problem with prototype methods related to models relations.
For example: "Man" hasMany "Child" cause creation of method Man.prototype.__get__childs called by the remote method //xxx/api/men/[MAN_ID]/childs
During bootstrap phase (at https://github.com/snowyu/loopback-component-remote-ctx.js/blob/master/src/inject-remote-ctx.coffee#L73) i see that the method is injected but in the "inject" function (https://github.com/snowyu/loopback-component-remote-ctx.js/blob/master/src/inject-remote-ctx.coffee#L40) ctx.method.accepts object does not have the new accept injected!
petitroto
Metadata
Metadata
Assignees
Labels
No labels