-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Call new disable remote method from model class [2.x] #2781
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
Conversation
e1ec15c to
4ee3660
Compare
superkhau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are good -- Please ping @rmg to figure whats up with the loopback failure -- I think it's unrelated.
|
@richardpringle Add note for you to remember to remove the deprecation message in the backport too. |
| var TestModel = app.models.TestModelForDisablingRemoteMethod; | ||
| TestModel.on('remoteMethodDisabled', callbackSpy); | ||
| TestModel.disableRemoteMethod('findOne'); | ||
| TestModel.disableRemoteMethod('findOne', true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In 2.x, the method disableRemoteMethod is not deprecated. Can we place keep this test unmodified to cover this API?
|
@bajtos, |
Ah, I see, you are right. |
bajtos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
4ee3660 to
f7dbc97
Compare
|
@bajtos, shit should be okay to merge right? Those windows builds aren't failing anymore and it doesn't seam like the failed tests for the downstream buils have anything to do with this change. |
|
FYI, skipping multitenancy tests to get CI green at strongloop/loopback-multitenancy#11. |
|
@slnode test please |
Agreed, go ahead and |
backport of 0ab33a8