Closed vahoang closed 2 years ago
@Havunen Can help me double check if the issue is valid and if I can help you to fix it, many thanks!!
Yeah, I think it should ideally use the provided options in those Serialize methods, but there was some issue where the logic got into infinite loop because it was calling itself. That needs to be tested.
@Havunen Do you recall how did you end up with such infinite loop cause I did some tests and cannot reproduce it.
Ah, it seems TryConvertTo was already passing the json serializer options there, I believe I fixed it at some point then. Yeah this sounds like a bug
Fixed in v0.0.9
Thanks for the swift replies and fix !!
Description
Currently only the
Copy
operation at here does not use the providedJsonSerializerOptions
.To Reproduce
DateOnly
)DateOnly
attribute)Copy
.Tasks
JsonSerializerOptions options
toConversionResultProvider.TryCopyTo
options
when try to deserialize the object in TryCopyTo method