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

clientcore, fix handle of Base64Uri in RestProxy parameter #44287

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Feb 20, 2025

test in #44319

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@@ -621,7 +621,8 @@ private static String serialize(CompositeSerializer serializer, Object value) {
|| value instanceof Number
|| value instanceof Boolean
|| value instanceof Character
|| value instanceof DateTimeRfc1123) {
|| value instanceof DateTimeRfc1123
|| value instanceof Base64Uri) {
Copy link
Member Author

Choose a reason for hiding this comment

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

The current process in the function seems not general enough. E.g. if I need to handle Duration in query/header parameter, I will need to put the Duration class there as well.

@weidongxu-microsoft weidongxu-microsoft changed the title clientcore, support Base64Uri in RestProxy parameter clientcore, fix handle of Base64Uri in RestProxy parameter Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants