I'm exploring the idea of changing my transactions...
# exposed
r
I'm exploring the idea of changing my transactions to read-only by default and requiring an explicit
readOnly = false
for write operations, but I noticed that
newSuspendedTransaction
doesn't offer a read-only property. Is this on purpose? How can I make suspended transactions read-only in Exposed?
I opened a PR to add this feature since others have requested it on YouTrack as well: https://github.com/JetBrains/Exposed/pull/2274