Skip to content

DX | 29-06-2026 | Release#70

Draft
harshitha-cstk wants to merge 7 commits into
masterfrom
development
Draft

DX | 29-06-2026 | Release#70
harshitha-cstk wants to merge 7 commits into
masterfrom
development

Conversation

@harshitha-cstk

Copy link
Copy Markdown
Contributor

No description provided.

harshitha-cstk and others added 7 commits May 11, 2026 15:54
chore: back-merge master into development
chore: back-merge master into development
…ct deserialization

IEmbeddedObject is an interface and cannot be instantiated directly by
Newtonsoft.Json. Add EmbeddedObject as a concrete implementation covering
both IEmbeddedEntry and IEmbeddedAsset, and EmbeddedObjectConverter to
redirect deserialization from the interface to the concrete class.

EmbeddedObject uses [JsonExtensionData] so custom fields on embedded
entries and assets are preserved rather than silently dropped.
…ect deserialization

Add EmbeddedObject as a concrete implementation of IEmbeddedObject covering
both IEmbeddedEntry and IEmbeddedAsset. Add EmbeddedObjectConverter to redirect
deserialization from the interface to the concrete class. Custom fields on
embedded entries and assets are preserved via [JsonExtensionData].

Add unit tests covering CanConvert isolation, known field mapping, nested
object and array fields in [JsonExtensionData], full Delivery API response
shape, and regression guard for the interface instantiation crash.
fix: add EmbeddedObject and EmbeddedObjectConverter to resolve IEmbeddedObject deserialization failure
@harshitha-cstk harshitha-cstk requested a review from a team as a code owner June 25, 2026 09:13
@harshitha-cstk harshitha-cstk marked this pull request as draft June 25, 2026 09:13
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.

2 participants