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

Provide http.models migration recipes #44136

Open
jairmyree opened this issue Feb 10, 2025 · 0 comments
Open

Provide http.models migration recipes #44136

jairmyree opened this issue Feb 10, 2025 · 0 comments
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team.

Comments

@jairmyree
Copy link
Member

jairmyree commented Feb 10, 2025

This issue is for the discussion and tracking of tasks related to the migration to io.clientcore.core.http.model using OpenRewrite recipes.

Module Changes

This list indicates a set of changes characterized by a translation of fully-qualified types.
(ex. com.azure.core.module-name to io.clientcore.module-name)

API Changes

This list indicates a set of changes characterized by a translation of functionality exposed via the public API.
(ex. client.setString(String value) -> client.setEnum(EnumType type))

  • Extensions of Header should be replaced with HttpHeader
  • HttpHeader constructor is replaces string argument with HttpHeaderName
  • HttpHeader.getName() now returns HttpHeaderName instead of String. Customer code will need to be updated to call getCaseSensitiveName()
  • HttpHeader,getValue() now returns List instead of String[]
@jairmyree jairmyree converted this from a draft issue Feb 10, 2025
@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team.
Development

No branches or pull requests

1 participant