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

Miscellaneous DPS service client cleanup #3264

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Conversation

timtay-microsoft
Copy link
Member

  • Move JsonSerializerSettingsInitializer and PageableHelpers to the Utilities folder
  • Rename ResponseBody to ErrorResponse
  • Remove unused fields in QueryBuilder

- Move JsonSerializerSettingsInitializer and PageableHelpers to the Utilities folder
- Rename ResponseBody to ErrorResponse
- Remove unused fields in QueryBuilder
@timtay-microsoft
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Comment on lines 10 to 11
[JsonProperty("errorCode")]
internal int ErrorCode { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, so this property is not for general "status code" (2XX) as well, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, it's interesting that we have another property called "Code" and getting from this property.

Copy link
Member Author

Choose a reason for hiding this comment

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

This class is only used to deserialize the HTTP response in cases where the HTTP status is not 200 or 204, but I suspect this field is still the same value as the HTTP status code

@timtay-microsoft timtay-microsoft merged commit da71012 into previews/v2 Apr 13, 2023
@timtay-microsoft timtay-microsoft deleted the timtay/misc branch April 13, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants