SerializationConfig doesn't preserve serializeMetaData in copy methods.
Closed this issue · 1 comments
motlin commented
Some of the copy methods in SerializationConfig don't copy over serializeMetaData. I worked around it by changing code like this:
SerializationConfig serializationConfig = SerializationConfig
.shallowWithDefaultAttributes(MyTypeFinder.getFinderInstance())
.withoutMetaData()
.withDeepFetches(MyTypeFinder.relatedThings());
to:
SerializationConfig serializationConfig = SerializationConfig
.shallowWithDefaultAttributes(MyTypeFinder.getFinderInstance())
.withDeepFetches(MyTypeFinder.relatedThings())
.withoutMetaData();