I have a bit of a strange issue that I can’t seem to get my head around…
I am trying to update a doc, but when I have a client open and subscribed to that collection, the update succeeds (either from method call or from mongo shell - no errors) but the data change doesn’t persist.
If I browse to another page in the app and try the update from the shell again, the change does persist.
I thought it might be schema related, but the only schema I have set for that collection is on a different method. Just in case that was causing weird issues, I commented out anything to do with that method and restarted the app… Issue still happening…
Is there something with Simpl-schema that persists even between app restarts? And is a simpl-schema attached to a single method then applied all the time for that collection?
Any ideas welcome!