microsoft / microsoft/typespec

Add Support for Derived Deserialization of Models

Open
#3,735 0 comments 1 reaction 0 assignees View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Now that we generate "core" serialization methods that are called from the interface methods, we should add support to defer to base for deserialization similar to [JsonModelWriteCore](https://github.com/microsoft/typespec/blob/main/packages/http-client-csharp/generator/TestProjects/Local/Unbranded-TypeSpec/src/Generated/Models/Friend.Serialization.cs#L37). This may require design first.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.