Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator improvements #124

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Generator improvements #124

merged 2 commits into from
Feb 24, 2025

Conversation

vietj
Copy link
Member

@vietj vietj commented Feb 11, 2025

A few structural improvements.

Annotated client

Client generated code annotated with VertxGen so it can be used with RxJava or Mutiny

Class naming simplification

  • VertxABCGrpcClientABCClient
  • VertxABCGrpcServerABCService

Scoped service method constants

JSON and transcoded service method constants are now scoped in an enclosing class : GreeterService.Hello_JSONGreeterService.Json.Hello

New binder

A binder replaces the bind_XXX methods: service.bind_Hello(server)service.bind(GreeterService.Hello).to(server)

Javadoc

Basic javadoc is now generated

Cosmetic

Generated code is properly indented and spaces for more clarity.

@vietj vietj added this to the 5.0.0 milestone Feb 11, 2025
@vietj vietj force-pushed the generator-improvements branch from f0ff6e5 to 7572820 Compare February 24, 2025 12:55
@vietj vietj added the enhancement New feature or request label Feb 24, 2025
@vietj vietj self-assigned this Feb 24, 2025
@vietj vietj merged commit 14bf024 into main Feb 24, 2025
5 checks passed
@vietj vietj deleted the generator-improvements branch February 24, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant