chaokunyang commented on code in PR #2815:
URL: https://github.com/apache/fory/pull/2815#discussion_r2454034783


##########
rust/fory-core/src/resolver/context.rs:
##########
@@ -70,9 +70,13 @@ impl WriteContext {
         }
     }
 
-    pub fn new_from_fory(writer: Writer, fory: &Fory) -> WriteContext {
-        WriteContext {
-            type_resolver: fory.get_type_resolver().clone(),
+    pub fn new_from_fory(writer: Writer, fory: &Fory) -> Result<WriteContext, 
Error> {
+        // 报错

Review Comment:
   please check all comments



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