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

Mark all AppConfig SDK client methods as const, since clients are immutable. #6328

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

ahsonkhan
Copy link
Contributor

Related to https://github.com/Azure/autorest.cpp/issues/464

Checking to see if const poisoning causes any unexpected build issues, across platforms.

@ahsonkhan ahsonkhan added the App Configuration Azure.ApplicationModel.Configuration label Jan 9, 2025
@ahsonkhan ahsonkhan added this to the 2025-02 milestone Jan 9, 2025
@ahsonkhan ahsonkhan self-assigned this Jan 9, 2025
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-data-appconfiguration-cpp

@LarryOsterman
Copy link
Member

Are you planning on adding tests for a const AppConfig client?

@ahsonkhan
Copy link
Contributor Author

Are you planning on adding tests for a const AppConfig client?

Yes, once we have runnable samples that pass without exceptions and functional tests for the generated code, I will make sure to use const instances of the client in those tests:
#6333

@ahsonkhan ahsonkhan merged commit 35ade03 into Azure:main Jan 11, 2025
50 checks passed
@ahsonkhan ahsonkhan deleted the AddConstToMethods branch January 11, 2025 01:19
LarryOsterman pushed a commit to LarryOsterman/azure-sdk-for-cpp that referenced this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Configuration Azure.ApplicationModel.Configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants