Skip to content

Add: support for deserializing multiple instances of a type#1

Open
kuccello wants to merge 1 commit into
artonio:masterfrom
kuccello:support-multiple-deserialize
Open

Add: support for deserializing multiple instances of a type#1
kuccello wants to merge 1 commit into
artonio:masterfrom
kuccello:support-multiple-deserialize

Conversation

@kuccello
Copy link
Copy Markdown

@kuccello kuccello commented Dec 9, 2021

Add support for deserializing multiple instances of a type when present in TTL source

This PR contains code that adds support for the deserializer to instantiate multiple distinct type instances when present in a source ttl.

The interface is slightly modified to support returning either a type T when only a single instance is present in the source or an array of type T when multiple. T | T[]

…ent in TTL source

This PR contains code that adds support for the deserializer to instansiate multiple distinct type instances when present in a source ttl.
The interface is slightly modified to support returning either a type T when only a single instance is present in the source or an array of type T when multiple.
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