mattjubb opened a new pull request, #2702:
URL: https://github.com/apache/fory/pull/2702

   ## Why?
   In my project we have 1000s of classes that are serialized, we have a custom 
mechanism for registering those class using a UUID which provides a way to 
lookup those classes at runtime. It would be useful to be able to hook up this 
mechanism to the fory serializer. This is my first time trying to contribute to 
open source project so appreciate any guidance
   
   ## What does this PR do?
   This PR adds a new interface ClassInfoSerializer which can be implemented to 
specify a custom way to serialize a class ID instead of the default short id. 
this can be set on the ClassResolver via setClassInfoSerializer
   
   ## Does this PR introduce any user-facing change?
   Yes introduces new interface - ClassInfoSerializer  and 
ClassResolver.setClassInfoSerializer method
   
   -->
   
   - [x] Does this PR introduce any public API change?
   - [x] Does this PR introduce any binary protocol compatibility change? - yes 
if custom class info serializer is set, otherwise no
   
   ## Benchmark
   not performed yet


-- 
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