-
Notifications
You must be signed in to change notification settings - Fork 221
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
http-client-java, namespace from client.tsp #5051
Merged
weidongxu-microsoft
merged 27 commits into
microsoft:main
from
weidongxu-microsoft:http-client-java_namespace
Nov 22, 2024
Merged
http-client-java, namespace from client.tsp #5051
weidongxu-microsoft
merged 27 commits into
microsoft:main
from
weidongxu-microsoft:http-client-java_namespace
Nov 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
microsoft-github-policy-service
bot
added
the
emitter:client:java
Issue for the Java client emitter: @typespec/http-client-java
label
Nov 11, 2024
weidongxu-microsoft
changed the title
http-client-java, namespace
http-client-java, namespace from client.tsp
Nov 11, 2024
No changes needing a change description found. |
weidongxu-microsoft
force-pushed
the
http-client-java_namespace
branch
from
November 11, 2024 08:35
bb12836
to
e6731bd
Compare
You can try these changes here
|
weidongxu-microsoft
force-pushed
the
http-client-java_namespace
branch
3 times, most recently
from
November 11, 2024 10:26
e2b6d23
to
7fe1493
Compare
weidongxu-microsoft
force-pushed
the
http-client-java_namespace
branch
from
November 11, 2024 11:35
7fe1493
to
bf032f6
Compare
…ngxu-microsoft/typespec into http-client-java_namespace
weidongxu-microsoft
force-pushed
the
http-client-java_namespace
branch
from
November 14, 2024 09:28
2150213
to
4083889
Compare
...st/src/main/java/_specs_/azure/clientgenerator/core/access/InternalOperationAsyncClient.java
Show resolved
Hide resolved
4 tasks
weidongxu-microsoft
requested review from
srnagar,
haolingdong-msft and
XiaofeiCao
as code owners
November 22, 2024 03:25
haolingdong-msft
approved these changes
Nov 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me.
Locally tested the migration for openai to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
link Azure/autorest.java#2968
current limitation:
mostly this due to the fact that ctor of the client is package private, so it won't work if client and its builder or client of accessor method are in different packages
At this PR, unbranded would still have
.models
in package for models. We can tweak this later (by settingmodelsSubPackage
in JavaSetting to empty, when unbranded).tested and it be backward compatible, if
namespace
is provided in emitter optionhttps://github.com/Azure/azure-sdk-for-java/pull/43055/files