[Bug]: http-client-java, support Client / SubClient in different package #5543
Labels
bug
Something isn't working
emitter:client:java
Issue for the Java client emitter: @typespec/http-client-java
Describe the bug
https://github.com/allenjzhang/typespec-e2e-demo/blob/cd13f41abb54bb86f80eeabfdefb1e48e3e59321/todoApp/spec/main.tsp
There is nested namespace that contains operations.
It would result in Client / SubClient in a different Java package.
Currently the Client in Java is initialized via package private constructor, hence the Client and SubClient be in same package.
Reproduction
https://github.com/allenjzhang/typespec-e2e-demo/blob/cd13f41abb54bb86f80eeabfdefb1e48e3e59321/todoApp/spec/main.tsp
Checklist
The text was updated successfully, but these errors were encountered: