You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the implementation here and here, these functions have to use reflection to get type custom attributes, deconstruct them, and do some additional processing. Would it make sense to build a dict of hash(type.FullName) -> bool and check that before delegating to the underlying function for the IsRecord/IsUnion checks that are done as part of CanConvert for the serializers?
The text was updated successfully, but these errors were encountered:
From what I was reading in the JsonPropertyInfo-createing code, CanConvert will eventually be called for every property of every type that you want to serialize.
Per the implementation here and here, these functions have to use reflection to get type custom attributes, deconstruct them, and do some additional processing. Would it make sense to build a dict of
hash(type.FullName) -> bool
and check that before delegating to the underlying function for theIsRecord/IsUnion
checks that are done as part ofCanConvert
for the serializers?The text was updated successfully, but these errors were encountered: