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

JsonModelWriteCore is not generated when a model has customization code to add a base type #5109

Open
ArcturusZhang opened this issue Oct 14, 2024 · 0 comments
Assignees
Labels
DPG Mgmt This issue is related to a management-plane library.

Comments

@ArcturusZhang
Copy link
Member

ArcturusZhang commented Oct 14, 2024

First found here: https://github.com/Azure/azure-sdk-for-net/pull/46324/files#r1798685767
when AvsManagementCluster does not have customized code, it looks fine with a generated JsonModelWriteCore.
But when we add a customized AvsManagementCluster with a base type, the JsonModelWriteCore method in generated code just vanished.

This issue was first seen in a mgmt plane RP, but it could also happen to dpg packages as well

@ArcturusZhang ArcturusZhang added Mgmt This issue is related to a management-plane library. DPG labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DPG Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

2 participants