Closed gsi-alejandro closed 2 months ago
Is there a strong motivation to use .$transaction
instead of just .transaction
?
No, .$transaction is inspired by Prismajs's API, it's a clear way to highlight the section like an atomic operation (a different kind of section, a special one)
@gsi-alejandro .$transactions will it be made available as an “interactive” transaction?
Is there a strong motivation to use
.$transaction
instead of just.transaction
?
Yea I think we should us $.transaction @ejscribner . Also are we planning to make Ottoman available from edge environments ?
Ref: CBSE-14946
Proposal
Steps:
Note: the way to support transactions will be by passing the ctx via options to the existing method.
Affected methods:
Ottoman:
Model:
Document:
Notice: Bring support to refdoc indexes will be a little bit more complex, no API change is required it will be done under the hood, but you need to be aware of the work to do in order to achieve transactions if refdoc logic is triggered.