apache / dubbo-js

The Typescript implementation of Apache Dubbo. An RPC and microservice framework for Node.js and Web development.
https://dubbo.apache.org/
Apache License 2.0
767 stars 160 forks source link

What does "dubboSetting" stand for? #136

Closed pxmage closed 5 years ago

pxmage commented 5 years ago

I tried to create a Dubbo object following the document

// create dubbo object
const dubbo = new Dubbo<typeof service>({
  application: {name: 'node-dubbo'},
  // zookeeper address
  register: 'localhost:2181',
  service,
});

However, typescript told me that I need to pass a dubboSetting to the constructor, which is not listed on the document.

What am I supposed to pass to it?

reallyimeric commented 5 years ago

found it here https://github.com/apache/dubbo-js/releases/tag/dubbo2.js%402.3.5

pxmage commented 5 years ago

@reallyimeric Thank you for the reply. ☺