vert-x3 / vertx-service-proxy

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

Fix #28 #30

Closed cescoffier closed 9 years ago

cescoffier commented 9 years ago

Add support for enum in results

vietj commented 9 years ago

just looking at it, it seems that we don't handle the case with an enum annotated with @VertxGen. So we need to support it too.

cescoffier commented 9 years ago

You mean something like this:

@VertxGen
public enum SomeVertxEnum {
  FOO, BAR, WIBBLE
}

This does not change anything (it is handled as an enum).

cescoffier commented 9 years ago

Actually, it does not generate anything for such enum.

cescoffier commented 9 years ago

I've added a unit test with an enum annotated with @VertxGen.

vietj commented 9 years ago

looks good to me