beiwei30 closed pull request #173: update <dubbo:reference> closed label error
auout group-merger in dubbo english doc
URL: https://github.com/apache/incubator-dubbo-website/pull/173
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/docs/en-us/user/demos/group-merger.md
b/docs/en-us/user/demos/group-merger.md
index d1630d51..f55032e8 100644
--- a/docs/en-us/user/demos/group-merger.md
+++ b/docs/en-us/user/demos/group-merger.md
@@ -23,7 +23,7 @@ The specified method to merge the results, other unspecified
methods, will only
```xml
<dubbo:reference interface="com.xxx.MenuService" group="*">
<dubbo:method name="getMenuItems" merger="true" />
-</dubbo:service>
+</dubbo:reference>
```
The Specified a method does not merge the results, others merge the results
@@ -31,7 +31,7 @@ The Specified a method does not merge the results, others
merge the results
```xml
<dubbo:reference interface="com.xxx.MenuService" group="*" merger="true">
<dubbo:method name="getMenuItems" merger="false" />
-</dubbo:service>
+</dubbo:reference>
```
Specify the merge strategy, the default according to the type of return value
automatically match, if the same type has two mergers, you need to specify the
name of the merger[^2]
@@ -39,7 +39,7 @@ Specify the merge strategy, the default according to the type
of return value au
```xml
<dubbo:reference interface="com.xxx.MenuService" group="*">
<dubbo:method name="getMenuItems" merger="mymerge" />
-</dubbo:service>
+</dubbo:reference>
```
Specify the merge method, it will call the return type's method for merging,
the merging method parameter type must be the return type
@@ -47,7 +47,7 @@ Specify the merge method, it will call the return type's
method for merging, the
```xml
<dubbo:reference interface="com.xxx.MenuService" group="*">
<dubbo:method name="getMenuItems" merger=".addAll" />
-</dubbo:service>
+</dubbo:reference>
```
[^1]: since `2.1.0` began to support
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]