Skip to content

Conversation

@richardpringle
Copy link
Contributor

@richardpringle richardpringle commented Sep 22, 2016

backport of 0ab33a8

Copy link
Contributor

@superkhau superkhau left a 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.

@superkhau
Copy link
Contributor

@richardpringle Add note for you to remember to remove the deprecation message in the backport too.

@bajtos bajtos changed the title Call new disable remote method from model class. Call new disable remote method from model class [2.x] Sep 23, 2016
var TestModel = app.models.TestModelForDisablingRemoteMethod;
TestModel.on('remoteMethodDisabled', callbackSpy);
TestModel.disableRemoteMethod('findOne');
TestModel.disableRemoteMethod('findOne', true);
Copy link
Member

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?

@richardpringle
Copy link
Contributor Author

@bajtos, findOne is a static method, the true should have always been there.

@bajtos
Copy link
Member

bajtos commented Sep 23, 2016

@bajtos, findOne is a static method, the true should have always been there.

Ah, I see, you are right.

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@richardpringle richardpringle force-pushed the backport/disableMethodByName branch from 4ee3660 to f7dbc97 Compare September 23, 2016 15:15
@richardpringle
Copy link
Contributor Author

@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.

@superkhau
Copy link
Contributor

superkhau commented Sep 23, 2016

FYI, skipping multitenancy tests to get CI green at strongloop/loopback-multitenancy#11.

@bajtos
Copy link
Member

bajtos commented Sep 26, 2016

@slnode test please

@bajtos
Copy link
Member

bajtos commented Sep 26, 2016

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.

Agreed, go ahead and :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants