Add new event "remoteMethodAdded"#3322
Conversation
|
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test." |
|
Can one of the admins verify this patch? |
3 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
@slnode ok to test |
|
Thank you @DAVIDFlavien for the pull request. The changes looks mostly good to be. For completeness, could you please emit the new event from |
|
Done in 8745f4e |
Emit a new method "remoteMethodAdded" whenever a new method is added, typically when `Model.remoteMethod` or `Model.nestRemoting` is called. The method is emitted both by the Model affected and the application object.
8745f4e to
981bd30
Compare
|
@DAVIDFlavien thank you for the update. The patch LGTM now. To speed up the process, I have squash all commits into a single one with a descriptive commit message following our 50/72 rule and This pull request can be landed once the CI builds are done. |
|
Landed, thank you for the contribution! 🎉 |
|
Is this gonna be in a new subversion soon? Need it please! Thanks 👍 |
|
@sebastianfelipe I believe the feature was released in |
|
Thanks @bajtos, is there something for 2.X.X? I'm not using the latest version yet. I'd really appreciate it. |
|
@sebastianfelipe 2.x is in LTS mode, we are no longer adding new features there. See https://loopback.io/doc/en/contrib/Long-term-support.html. |
|
I updated to this new release. I'm using the 3.9.0 version, but the nested models are not appearing in the explorer menu :/. It were created and I can visualize them using the Model.sharedClass._methods, but there doesn't appear in the explorer :/ |
|
Adding to the previous situation, in the Model.sharedClass._methods, doesn't appear the direct prototype. methods to list them all at once (if there is a possibility to do it) |
|
@sebastianfelipe Please open a new issue and provide us with a small app reproducing your problem, see http://loopback.io/doc/en/contrib/Reporting-issues.html#bug-report. Please mention my github handle |
Description
Add new event
remoteMethodAddedtriggered when nestRemoting is calledRelated issues
#2409
strongloop/loopback-component-explorer#167
Checklist
guide