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

http-client-java, refactor crossLanguageDefinitionId #5429

Conversation

weidongxu-microsoft
Copy link
Contributor

@weidongxu-microsoft weidongxu-microsoft commented Dec 23, 2024

code-model, move it to Language

Visible effect is that sync/async client should now have a crossLanguageDefinitionId.
e.g.

    "todo.TodoItemsClient": "Todo.TodoItems",

Previous, it is null, e.g.
https://github.com/allenjzhang/typespec-e2e-demo/blob/main/todoApp/clients/java/src/main/resources/META-INF/todo_apiview_properties.json#L25

PS: should it be null instead of "null"?

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:java Issue for the Java client emitter: @typespec/http-client-java label Dec 23, 2024
@azure-sdk
Copy link
Collaborator

No changes needing a change description found.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs 🛝 VSCode Extension

@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review December 23, 2024 14:56
@weidongxu-microsoft weidongxu-microsoft added this pull request to the merge queue Dec 23, 2024
Merged via the queue into microsoft:main with commit cfb11a1 Dec 23, 2024
26 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the http-client-java_refactor-crossLanguageDefinitionId branch December 23, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:java Issue for the Java client emitter: @typespec/http-client-java
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants