From 6f3fcfc4a8d7ed263fc0923d69af2b47aab3e725 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Wed, 4 Dec 2024 15:48:20 +0800 Subject: [PATCH] refine user doc --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1084cf3..c69bd1b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,9 @@ The usage will be different if class registration is disabled or enabled: `@FurySerialization(classId = xxx)`, otherwise Fury will allocate an auto-generated ID which you won't know at the client for registration. - Disable class registration: no class id are needed to register, which is more easy to use, but the serialized size -will be larger since Fury will serialize class as a string instead of an id. +will be larger since Fury will serialize class as a string instead of an id. Note that `quarkus-fury` will only allow +classes annotated by `@FurySerialization` for deserialization, the deserialization will be safe as class registration +enabled. ### Class registration enabled ```java