Closed samuelstroschein closed 2 hours ago
Invocations of the plugin API should lock the database (for example detecting conflictings in a merge)
Wrap LixReadonly invocations of plugins with a transaction.
plugin.detectConflicts({ lix: withTransaction(lix, trx) })
Postponing because non-breaking.
closing because not important for public pre-release.
Context
Invocations of the plugin API should lock the database (for example detecting conflictings in a merge)
Proposal
Wrap LixReadonly invocations of plugins with a transaction.