-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
design-discussionAn area of design currently under discussion and open to team and community feedback.An area of design currently under discussion and open to team and community feedback.
Description
Currently, whether to capture additional properties in a model is up to the TypeSpec. No language currently captures additional properties by default even for extensible enums' base discriminants. This can lead to data loss if a service does not implement PATCH correctly or if they use PUT for updates because added fields will be missing. It should work correctly if PATCH for JSON merge+patch was implemented correctly.
We should consider always capturing additional properties for any model, or at least any DU (polymorphic model).
Metadata
Metadata
Assignees
Labels
design-discussionAn area of design currently under discussion and open to team and community feedback.An area of design currently under discussion and open to team and community feedback.
Type
Projects
Status
Untriaged