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

   ### Feature Request
   
   I debugged the method deserialize(byte, class) and found that it does not 
check the deserialized data matches the class - that it just info for the 
compiler to know what the expected return type is.
   Would it be possible to add a deserializeWithClassCheck(byte, class) that 
validates the byte data has a class marker saved into the byte data and that 
class data relates to a class that is the class expected (the one passed in the 
parameter list of deserializeWithClassCheck) or a subclass? 
   
   ### Is your feature request related to a problem? Please describe
   
   _No response_
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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