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


##########
go/fory/fory.go:
##########
@@ -44,19 +84,43 @@ func NewFory(referenceTracking bool) *Fory {
                }
        }
 
+       // Initialize meta context if compatible mode is enabled
+       if fory.compatible {
+               fory.metaContext = NewMetaContext(true)
+       }
+
+       fory.refResolver = newRefResolver(fory.refTracking)
        return fory
 }
 
 // NewForyWithIsolatedTypes creates a Fory instance with isolated type resolver
 // for use cases that need independent type registration
-func NewForyWithIsolatedTypes(referenceTracking bool) *Fory {
+func NewForyWithIsolatedTypes(refTracking bool) *Fory {

Review Comment:
   @thisingl I'm a little confused, why do we need this API, this looks obscure 
to me.



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