Skip to content

Commit ed17aa6

Browse files
committed
Automated deployment: Sun Jul 21 10:29:14 UTC 2024 bc9c2bc
1 parent 0b73e78 commit ed17aa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

faq/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ <h2 id="How-to-solve-ambiguous-methods"><a class="ms-header-link" href="#How-to-
519519
<li>2 step method, variant 2: <code>target = methodY( conversionX ( source ) )</code></li>
520520
<li>2 step method, variant 3: <code>target = conversionY( methodX ( source ) )</code></li>
521521
</ol>
522-
<p>Whenever MapStruct finds a unique candidate, MapStruct stops and uses this method to make the mapping between source and target. However, for option 1, 5, 6, 7 it is possible that multiple eligible candidtates are found for which MapStruct cannot decide which one to select. MapStruct reports this as &ldquo;ambiguous mapping method&rdquo; and lists the methods from which it cannot make a selection. Here, you have to guide MapStruct in making the correct mapping.</p>
522+
<p>Whenever MapStruct finds a unique candidate, MapStruct stops and uses this method to make the mapping between source and target. However, for option 1, 5, 6, 7 it is possible that multiple eligible candidates are found for which MapStruct cannot decide which one to select. MapStruct reports this as &ldquo;ambiguous mapping method&rdquo; and lists the methods from which it cannot make a selection. Here, you have to guide MapStruct in making the correct mapping.</p>
523523
<p>This can be done in the following ways:</p>
524524
<ul>
525525
<li>provide a method with the exact signature if MapStruct cannot select between base- and super types.</li>

0 commit comments

Comments
 (0)