loopbackio / loopback-connector-mongodb

The official MongoDB connector for the LoopBack framework.
https://loopback.io/doc/en/lb4/MongoDB-connector
Other
187 stars 236 forks source link

Duplicate id and _id when PATCH document #444

Closed aitorllj93 closed 5 years ago

aitorllj93 commented 6 years ago

Description/Steps to reproduce

Make a PATCH request with id inside data

Expected result

There should only be one '_id' field, but it adds the 'id' field

OtmaroE commented 6 years ago

Having the same issue. @aitorllj93 Did you find a solution to this problem?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

natuan62 commented 3 years ago

I have the same isssue