-
Notifications
You must be signed in to change notification settings - Fork 176
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
Support "PATCH" request method for "updateAttributes" model method/hook #282
Comments
Hi @suryakand thanks for reporting, We will start working on supporting LB3 soon :) |
Hi @suryakand King Regards |
@PhilippeCorreges have you tried updateAttributes method (if you are using version 3.x)? |
@suryakand Thanks |
@PhilippeCorreges glad that it worked for you! |
@jonathan-casarrubias I keep needing to manually edit |
@jonathan-casarrubias Same here. Please advise. Shall we need to manually override put to patch generally ? |
I in my component.ts agree on suscribe.. this.modelApi.updateAttributes(this.model.id, this.model).subscribe( |
What type of issue are you creating?
What version of this module are you using?
Write other if any:
Please add a description for your issue:
Seem like in loopback's latest version they have implemented "PATCH" method (not PUT) for updating attributes on a model. The generated Angular2 SDK still generated "updateAttributes" method with "PUT" as request method. Please note "PATCH" method implementation may be only specific to Loopback 3.
Thanks,
The text was updated successfully, but these errors were encountered: