Closed kwiky closed 8 years ago
This is due to this : https://github.com/strongloop/loopback/issues/2042#issuecomment-180268956
I fixed my issue by forcing id to string by adding a letter before my long interger ids (ex : "i20160204161716634000")
@kwiky - thanks for raising this and super thanks for finding the culprit+workaround!
When i call this endpoint :
http://host:port/api/models/20160204161716631962
Loopback trace this :
Why did my id change during the query ? 20160204161716631962 => 20160204161716634000