Hi everyone,
We’re using Meteor 2.9.1 and on Atlas, we’ve just upgraded from 4.4 to 5.0.
What we see is when we run a method that updates an ObjectID in a document to which we’re currently subscribed we do receive the update of the Object id in a non-objectId format:
1: {_str: “19494195195159159”}
instead of
2: {"$type":"oid","$value":"d111d03a4c0785de433b4fab"}
That messes up with our code when we try to convert the first one to a string in an old way : variable +" " (instead of ._str)
However, when we do a Publish afterward, it gets the regular ObjectId.
Any idea what to do ?