Closed dnish closed 8 years ago
https://github.com/JackAdams/meteor-transactions/blob/master/lib/transactions-common.js#L1471 is the offending line of code. It's supposed to prevent schema from being automatically added to collections with no schema attached, but it's obviously not doing that. Should be an easy fix.
Okay, just released a new version that will, I hope, fix this. If it's not fixed, and you've got time, I'd really appreciate a simple repro so I can sort it out properly.
Hey, after adding the package, I get the following error if I try to add a document in one of my collections:
The affected collection doesn't have a Schema - also I didn't set {tx:true} or started a transaction at the beginning.
Before that insert, I do a insert into another collection, which has a Schema. This insert works without problems.