Skip to content

Support for annotation based entity callbacks #2321

Open
@odrotbohm

Description

@odrotbohm

Entity callbacks (e.g. in MongoDB) are a powerful way of reacting to the persistence layer interacting with the entity. It would be cool if the entities could be annotated directly and get those methods called in the process of the callback execution in general.

The annotated model has the benefit of no needing an extra component being registered with the infrastructure while of course being limited to not being subject for dependency injection, access to the raw entity state source abstraction etc. but might be just enough for some use cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions