Oxidaner commented on code in PR #3711:
URL: https://github.com/apache/dubbo-go/pull/3711#discussion_r3895363951
##########
metadata/options.go:
##########
@@ -309,3 +325,12 @@ func WithRegistryId(id string) ReportOption {
opts.registryId = id
}
}
+
+// WithReportDefinition toggles publishing of interface-level service
+// definitions to this report. Definitions are published by default; pass false
+// to opt out. Mirrors Java's MetadataReportConfig.reportDefinition.
+func WithReportDefinition(report bool) ReportOption {
+ return func(opts *ReportOptions) {
+ opts.ReportDefinition = &report
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]