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

[App Config] Update Response Output for Label for Configuration Setting #27622

Merged
merged 6 commits into from
Nov 2, 2023

Conversation

minhanh-phan
Copy link
Member

@minhanh-phan minhanh-phan commented Nov 1, 2023

Packages impacted by this PR

app-configuration

Issues associated with this PR

#27607

Describe the problem that is addressed by this PR

The service returns null for configuration settings without label, and our type specifies that label is an optional property of type string. The PR changes the response type to from label: null to label: undefined and contentType: null to contentType: undefined

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

@github-actions github-actions bot added the App Configuration Azure.ApplicationModel.Configuration label Nov 1, 2023
@azure-sdk
Copy link
Collaborator

API change check

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

azure-app-configuration

@@ -72,7 +72,7 @@ export type ConfigurationSetting<T extends string | FeatureFlagValue | SecretRef
export interface ConfigurationSettingId {
etag?: string;
key: string;
label?: string;
label?: string | null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add changelog please

@minhanh-phan minhanh-phan changed the title [App Config] Update Type for Label for Configuration Setting [App Config] Update Response Output for Label for Configuration Setting Nov 1, 2023
Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>
@minhanh-phan minhanh-phan merged commit 7f4f9b2 into Azure:main Nov 2, 2023
12 checks passed
@minhanh-phan minhanh-phan deleted the app-config-update-null branch January 2, 2024 20:10
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.

5 participants