nealeu opened a new issue, #3116:
URL: https://github.com/apache/fory/issues/3116

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/fory/issues) 
and found no similar issues.
   
   
   ### 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?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to