Skip to content

Apply IJsonmodel<> changes from Azure.Core #5347

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

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

live1206
Copy link
Member

@live1206 live1206 commented Jun 13, 2025

  • upgrade Azure.Core and Azure.Core.Expressions.DataFactory to the latest version to apply IJsonModel<> changes from Azure.Core
  • get rid of ManagedServiceIdentityTypeV3Converter.cs and remove it from shared file download
  • remove serialization helper methods from generated ModelSerializationExtensions.cs
  • make the generated code AOT compatible, the only exceptions are
    • use JsonSerializer.Serialize for BinaryData when .net version is under .net 6, which is not needed for AOT
    • use JsonSerializer.Deserialize for DataFactoryElement<>, MRW couldn't handle DFE properly for now

@live1206 live1206 marked this pull request as ready for review June 18, 2025 11:38
@live1206 live1206 requested a review from m-nash as a code owner June 18, 2025 11:38
@live1206
Copy link
Member Author

live1206 commented Jun 19, 2025

pending on Azure/azure-sdk-for-net#50703
Also pending on Azure/azure-sdk-for-net#50705 to get beta version of Azure.ResourceManager to fix the CI

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.

1 participant