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, do not prefix com. in namespace #5084

Conversation

weidongxu-microsoft
Copy link
Contributor

@weidongxu-microsoft weidongxu-microsoft commented Nov 13, 2024

Also remove the Cadl. in local test. Replaced it with TspTest (we don't want to call it TypeSpec. as it could conflict with TypeSpec libs).

It would not affect Azure SDK which always has namespace in emitter option.
It only affect SDK that does not have this option (basically, test case, and unbranded).

It prepares for the Namespace refactor, as we should not modify the TypeSpec Namespace. Azure/autorest.java#2968

@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 Nov 13, 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

@haolingdong-msft
Copy link
Member

Will this cause breaking changes to released lib?

@weidongxu-microsoft
Copy link
Contributor Author

weidongxu-microsoft commented Nov 13, 2024

Will this cause breaking changes to released lib?

No. Azure lib should all have the "namespace" option in tspconfig.

I will double check with a test sync.

@weidongxu-microsoft weidongxu-microsoft added this pull request to the merge queue Nov 13, 2024
Merged via the queue into microsoft:main with commit 56349a5 Nov 13, 2024
25 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the http-client-java_do-not-prefix-com branch November 13, 2024 07:41
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