Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Improve CDI integration #377

@rdebusscher

Description

@rdebusscher

The current CDI integration does not cover all use cases using annotations since it persist the Iterables and Maps fields from the root class.

This improved integration collects the changed objects (objects marked as dirty) using a fluent API and those are stored at the end of the method (or the JAX-RS request)

public interface DirtyMarker {
    <T> T mark(T instance);
}

This integrations allows to clearly indicate what is changed and stores the changes in an synchronous way (synchronous is also possible through the annotation or configuration).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions