fury icon indicating copy to clipboard operation
fury copied to clipboard

[Go] Replace legacy RegisterTagType api call

Open junjiexh opened this issue 3 months ago • 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

junjiexh avatar Sep 15 '25 07:09 junjiexh

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

junjiexh avatar Sep 15 '25 07:09 junjiexh

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

Great!, Assigned to you

chaokunyang avatar Sep 15 '25 07:09 chaokunyang