-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
IApiClientSerialization
allows consumers to implement their own serialization logic, using their preferred serializer. Some libraries support asynchronous task-based operations, e.g. https://docs.microsoft.com/en-us/dotnet/api/system.text.json.jsonserializer.deserializeasync?view=netcore-3.1
We can update the signature of the methods in IApiClientSerialization
to return a task and allow implementations with fully asynchronous operations.
Task<T> DeserializeFromStream<T>(Stream stream);
Task<byte[]> Serialize<T>(T item, bool useCamelCasePropertyNames, bool ignoreNullValues);
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request