remove polymorphicobjectconverter for http serialization (#4018)

This commit is contained in:
herblinernexxbizz 2023-05-10 10:18:18 +02:00 committed by GitHub
parent 832a5b116b
commit 8cec7615aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,6 @@ public class JsonHttpContentParser : IHttpContentParser
};
options.Converters.Add(new JsonStringEnumConverter());
options.Converters.Add(new PolymorphicObjectConverterFactory());
using var reader = new StreamReader(content, leaveOpen: true);
var json = await reader.ReadToEndAsync();