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

Model's Id not recognized when “idInjection”: false and some property has “id”: true #73

Open
jlgallego opened this issue Apr 16, 2015 · 2 comments

Comments

@jlgallego
Copy link

Looks like this is a problem on the Android SDK side.

When using the methods findById or findAll on a model with ID column specified, the id field in the object returned is null, making it impossible to perform any operation on the model (destroy, for example).

Related question in SO: http://stackoverflow.com/questions/29499567/models-id-not-recognized-when-idinjection-false-and-some-property-has-id

@bajtos
Copy link
Contributor

bajtos commented Apr 21, 2015

This is a sort of a known problem, see strongloop/loopback#126

@YsnKsy
Copy link

YsnKsy commented Oct 10, 2015

Same problem on the Angular SDK when “idInjection”: false and “id”: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants