Skip to content

Implement JsonModelCreateCore #5129

Open

Description

Background:

For inheritance cases, we deserialize model by iterating all the properties including the properties in the base model, instead of delegating the serialization of properties in base model to the base model itself. This leads to duplicate code in derived model and base model.

We already implemented JsonModelWriteCore to serialization process, but not for deserialization process. Customer is still struggling to maintain two sets of same code.

Information:

Refer to previous unfinished design:
Azure/azure-sdk-for-net#43765
Azure/azure-sdk-for-net#43571

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    v3Version 3 of AutoRest C# generator.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions