-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Bug or feature request
- Bug
- Feature request
Repro steps of bug
- Create a skeleton Loopback app.
- Create two models using the generator.
- Create a remote method in one of the models.
- Create a remote method with the same name as the previous, but in the second model.
- Observe that the first remote method created is removed
Expected result
AFAIK, remote methods with the same name but in different models (ie. resulting in different URL paths) are valid.
Actual result (if bug)
Looback remote method generator is removing a remote method from any model upon generating a second one with the same name.
Additional information (Node.js version, LoopBack version, etc)
Loopback: 2.0.0 ([email protected])
Node: v6.10.0
Update
This appears to also occur when performing any cli operation in a project with two remote methods with the same name (manually generated)
ymoreiratiti