Giter Site home page Giter Site logo

Comments (4)

creasy2010 avatar creasy2010 commented on August 23, 2024

@15168326318 因为要扫描文件,检测对外暴露的interface, 目前规则是以provider结尾的(我们内部的规则).
所以你的例子中第一个可以翻译,而第二个就不能翻译

目前还不支持配置.. 我们来加个配置项.

from dubbo-js.

hufeng avatar hufeng commented on August 23, 2024

hi @15168326318 确实如你所说,我们内部的接口规范比较统一,这样我们解析会快点,我们也在考虑这块是不是支持自定义,@15168326318有没有什么建议?

from dubbo-js.

15168326318 avatar 15168326318 commented on August 23, 2024

通过注解的方式可以吗,像dubbo的注解@service,@reference

from dubbo-js.

creasy2010 avatar creasy2010 commented on August 23, 2024

可以在翻译中增加一个配置, 用于判断那些是接口.. 这样对java代码也没有入侵.
eg: interface:"***Provider" || ***Server ,
@hsiaosiyuan0 @hufeng

from dubbo-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.