This is an automated email from the ASF dual-hosted git repository. earthchen pushed a commit to branch 3.2 in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.2 by this push: new 7f6decaf19 ReactorDubbo3TripleStub.mustache add schema registry (#14035) 7f6decaf19 is described below commit 7f6decaf19feb927c72c52a1a4e84da47c746f09 Author: caoyanan666 <55247691+caoyanan...@users.noreply.github.com> AuthorDate: Wed May 8 11:32:43 2024 +0800 ReactorDubbo3TripleStub.mustache add schema registry (#14035) Co-authored-by: caoyanan <caoya...@growingio.com> Co-authored-by: Ken Liu <ken.lj...@gmail.com> --- dubbo-compiler/src/main/resources/ReactorDubbo3TripleStub.mustache | 1 + 1 file changed, 1 insertion(+) diff --git a/dubbo-compiler/src/main/resources/ReactorDubbo3TripleStub.mustache b/dubbo-compiler/src/main/resources/ReactorDubbo3TripleStub.mustache index 28c7626da8..3b88532b46 100644 --- a/dubbo-compiler/src/main/resources/ReactorDubbo3TripleStub.mustache +++ b/dubbo-compiler/src/main/resources/ReactorDubbo3TripleStub.mustache @@ -54,6 +54,7 @@ public final class {{className}} { private static final StubServiceDescriptor serviceDescriptor = new StubServiceDescriptor(SERVICE_NAME,{{interfaceClassName}}.class); static { + org.apache.dubbo.rpc.protocol.tri.service.SchemaDescriptorRegistry.addSchemaDescriptor(SERVICE_NAME,{{outerClassName}}.getDescriptor()); StubSuppliers.addSupplier(SERVICE_NAME, {{className}}::newStub); StubSuppliers.addSupplier({{interfaceClassName}}.JAVA_SERVICE_NAME, {{className}}::newStub); StubSuppliers.addDescriptor(SERVICE_NAME, serviceDescriptor);