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


##########
docs/guide/xlang_serialization_guide.md:
##########
@@ -481,7 +481,7 @@ func main() {
   F3 map[string]string
  }
  fory := forygo.NewFory(true)
- if err := fory.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
+ if err := fory.Register(SomeClass{}, "example.SomeClass"); err != nil {

Review Comment:
   is this call to `func (f *Fory) Register(User{}, 101) error`? it should 
accept int32 only



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