apache/fory

[Go] Replace legacy RegisterTagType api call

Opened this issue · 2 comments

Feature Request

The current implementation in fory-go use RegisterTagType for registration is a legacy api.
Should be replaced by

func (r *typeResolver) registerNamedType(
	type_ reflect.Type,
	namespace string,
	typeName string
)

The api call like registerNamedType is common practice in other languages like Java and Python.

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@chaokunyang may be can leave for me, seems not difficult

@chaokunyang may be can leave for me, seems not difficult

Great!, Assigned to you