vert-x3 / vertx-service-proxy

EventBus Proxy generation
Apache License 2.0
67 stars 58 forks source link

Javascript codegen is missing import #48

Closed pmlopes closed 7 years ago

pmlopes commented 7 years ago

@marcelalburg commented on Mon May 30 2016

Hello,

if you build you own data objects and generate a proxy/service from it, the generated javascript file is missing a import/definition.

you can see this p.e. here : https://github.com/englishtown/vertx-elasticsearch-service/blob/develop/src/main/resources/vertx-elasticsearch-service-js/elastic_search_admin_service.js

if you add in this example:

var com = Packages.com;

it loads fine.

Thanks Marcel


@vietj commented on Fri Jan 13 2017

can you open this issue in the vertx-service-proxy project instead ? that's were JS is generated