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
Describe the bug
When using a custom serializer for a generic root type yasson does not use it when you specify the generic type in stead of the raw type.
To Reproduce
I created a small reproducer project which demonstrates the issue.
Expected behavior
At least the TypedRecordSerializerParameterized from the reproducer project should be used to serialize the TypedRecord instances. Both TypedRecordSerializerParameterized and TypedRecordSerializerRaw working might be fine too, but I cannot see if that causes difficulties elsewhere.
System information:
OS: Mac
Java Version: 21
Yasson Version: 3.0.3
The text was updated successfully, but these errors were encountered:
Describe the bug
When using a custom serializer for a generic root type yasson does not use it when you specify the generic type in stead of the raw type.
To Reproduce
I created a small reproducer project which demonstrates the issue.
See the failing test cases.
Expected behavior
At least the
TypedRecordSerializerParameterized
from the reproducer project should be used to serialize theTypedRecord
instances. BothTypedRecordSerializerParameterized
andTypedRecordSerializerRaw
working might be fine too, but I cannot see if that causes difficulties elsewhere.System information:
The text was updated successfully, but these errors were encountered: