Similarityoung opened a new pull request, #2896:
URL: https://github.com/apache/dubbo-go/pull/2896

   While addressing the  #2044 , I discovered that Dubbo-go already supports 
both interface-level and service-level service discovery for providers. The 
original problem described in the issue no longer exists as users can simply 
set `registry-type: all` in their configuration to enable both modes 
simultaneously,like this:
   
   ```
   nacos:
     protocol: nacos
     address: 127.0.0.1:8848
     username: nacos
     password: nacos
     namespace: my-ns
     group: dubbo
     registry-type: all  # Enable both discovery modes
     params:
       nacos.logLevel: warn
   ```
   
   So I just optimized the code related to this, improving its readability.
   


-- 
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]

Reply via email to