Skip to content

Database transaction boundary  #356

@gabrielanhaia

Description

@gabrielanhaia

Hey there.

This is not 100% a request for a feature, but it might be interesting for some people to know (as for me).

I would like to know where you guys would wrap the database insertion into a transaction.

Looking at the project, my best guess would be here:

protected function persist(AggregateRoot $entity): void

But I am not 100% sure.

Thanks a lot in advance, and feel free to close this issue if it is the wrong channel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions