Closed varunwyest closed 1 year ago
Hi @varunwyest, could you confirm that this works in your web client code? Your server must be configured with allow deny for this to work.
Yes, I tested it thoroughly in the meteor app as well outside of react native the behaviour is exactly the same when we dont use the Object ID. Without the object id, just passing in the string it does not update document, but gives no error.
When using the Object ID it updates the data perfectlty. I can try to take a stab at updating this code if you are okay with it. I just dont want to fork and create our own as this will be helpful to everybody.
+1
@varunwyest just want to clarify, are you saying {_id:"..."}
is working (object with _id field)?
Closing this issue due to no activity. Feel free to reopen.
If this issue persist it's likely a minimongo issue. Feel free to reopen.
Describe the bug When we use the Collection.update method it is taking a string as the ID which updates it perfectly on the local but is not able to update the server with the server with that id.
Any suggestions on how to update an object