Search before asking
Version
JDK 0.14.1
Component(s)
Java
Minimal reproduce step
Create two Fory instances with codegen enabled, one with a custom serializer (in my case) and one without.
Serialize the same object with the customised class as a field within the object graph (e.g. in our case we have some BSON ObjectId refs).
What did you expect to see?
I should be able to serialise and deserialise with each successfully.
What did you see instead?
Deserialisation using the non-customised Fory fails because the codegen expects the custom Serializer which it has never been told about.
Anything Else?
I think this should be obvious in terms of isolating codegen between differently configured Fory instances/pools.
Are you willing to submit a PR?
Search before asking
Version
JDK 0.14.1
Component(s)
Java
Minimal reproduce step
Create two Fory instances with codegen enabled, one with a custom serializer (in my case) and one without.
Serialize the same object with the customised class as a field within the object graph (e.g. in our case we have some BSON ObjectId refs).
What did you expect to see?
I should be able to serialise and deserialise with each successfully.
What did you see instead?
Deserialisation using the non-customised Fory fails because the codegen expects the custom Serializer which it has never been told about.
Anything Else?
I think this should be obvious in terms of isolating codegen between differently configured Fory instances/pools.
Are you willing to submit a PR?