mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#1773 Update documentation: componentModel=jsr330 with @DecoratedWith not longer experimental (#1907)
This commit is contained in:
parent
7e0327767f
commit
447bb00f89
@ -23,8 +23,6 @@ import java.lang.annotation.Target;
|
||||
* <b>NOTE:</b> This annotation is not supported for the component model {@code cdi}. Use CDI's own
|
||||
* <a href="https://docs.jboss.org/cdi/spec/1.0/html/decorators.html">{@code @Decorator}</a> feature instead.
|
||||
* <p>
|
||||
* <b>NOTE:</b> The decorator feature when used with component model {@code jsr330} is considered <em>experimental</em>
|
||||
* and it may change in future releases.
|
||||
* <h2>Examples</h2>
|
||||
* <p>
|
||||
* For the examples below, consider the following mapper declaration:
|
||||
|
@ -142,11 +142,6 @@ private PersonMapper personMapper; // injects the decorator, with the injected o
|
||||
----
|
||||
====
|
||||
|
||||
[WARNING]
|
||||
====
|
||||
`@DecoratedWith` in combination with component model `jsr330` is considered experimental as of the 1.0.0.CR2 release. The way the original mapper is referenced in the decorator or the way the decorated mapper is injected in the application code might still change.
|
||||
====
|
||||
|
||||
[[customizing-mappings-with-before-and-after]]
|
||||
=== Mapping customization with before-mapping and after-mapping methods
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user