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

Java code generated from thrift file lacks MethodPerEndpoint, ServicePerEndpointReq, and RepServicePerEndpoint APIs #368

Open
viet0511 opened this issue Apr 12, 2024 · 0 comments

Comments

@viet0511
Copy link

I used scrooge-generator-22.12.0 to generate Java code with Finagle integration using the command argument: -l java --finagle. It was successful, but it did not create the MethodPerEndpoint, ServicePerEndpointReq, and RepServicePerEndpoint APIs in the generated Java code; only ServiceIface and MethodIface were created.

Upon consulting the Scrooge documentation, I discovered that these APIs are deprecated, and it recommends switching to non-deprecated code.

When I tested with the argument -l scala --finagle, all three APIs (MethodPerEndpoint, ServicePerEndpointReq, and RepServicePerEndpoint) were created in the Scala code.

Does the new API only support Scala?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant