Skip to content
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

Only PATCH methods #636

Open
1 of 4 tasks
jgwinner opened this issue Feb 3, 2019 · 2 comments
Open
1 of 4 tasks

Only PATCH methods #636

jgwinner opened this issue Feb 3, 2019 · 2 comments

Comments

@jgwinner
Copy link

jgwinner commented Feb 3, 2019

What type of issue are you creating?

  • 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 #608

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

    == John ==
@jgwinner
Copy link
Author

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
Copy link
Author

jgwinner commented Mar 1, 2019

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 ==

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

No branches or pull requests

1 participant