chaokunyang commented on issue #2391:
URL: https://github.com/apache/fory/issues/2391#issuecomment-3047230488

   We have another mode to allow users costomize such behaviour. One user can 
disable class registration, but use ClassChecker to control which classes are 
allowed to deserialization:
   ```java
   Fory fory = Fory.builder().requireClassRegistration(false).build();
   fory.getClassResolver().setClassChecker(
     (classResolver, className) -> className.startsWith("org.example."));
   ```


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