loopback-sdk-builder icon indicating copy to clipboard operation
loopback-sdk-builder copied to clipboard

Only PATCH methods

Open jgwinner opened this issue 6 years ago • 2 comments

What type of issue are you creating?

  • [x] Bug
  • [ ] Enhancement
  • [ ] Question

What version of this module are you using?

  • ] 2.0.10 (Stable)
  • [ ] 2.1.0-rc.n (2.1 Release Candidate n)
  • [X ] Other 2.1.2

Write other if any: 2.1.2

Please add a description for your issue:

I'm looking at service.ejs, and note that there's code there to generate GET, PUT, UPSERT, etc. verbs.

My Loopback API is fairly generic and absolutely does have full API capability, including get, put, etc.

Yet the generated code ONLY has the Patch method.

I was very confused. There's very little documentation on how to use these API's, for example in Angular, to obtain current values; I start to implement 'GET' verbs, then notice that they should be generated, I think.

Does anyone have any ideas, or is this project dead?

Seems to be related to https://github.com/mean-expert-official/loopback-sdk-builder/issues/608

Is only Loopback 2 supported? That would have been good to know.

    == John ==

jgwinner avatar Feb 03 '19 17:02 jgwinner

Anyone?

I had to get rid of Loopback, and would really like some of the capabilities.

I tried hacking the code but it's not obvious why the methods aren't getting into the inner loop. The generated API certainly allows GET, PUT, etc.

Just not the loopback-sdk

    == John ==

jgwinner avatar Feb 14 '19 21:02 jgwinner

I know the main maintainer's abandoned this project to work on another project (which seems abandoned too, I hope everything is OK), but this is a serious problem. No one has any ideas? Is it a MySQL connector issue? If I write my own methods everything works fine.

    == John ==

jgwinner avatar Mar 01 '19 08:03 jgwinner