Skip to content

Conversation

@junjiexh
Copy link
Contributor

@junjiexh junjiexh commented Oct 3, 2025

Why?

fory-go was using RegisterTagType as register api which is already abandoned in implements in java and python. We need to switch to "typename + namespace" pattern registration.

What does this PR do?

Add two register-api called RegisterType and Register, they all do the same things. The RegisterType will register type on "typename + namespace", and the Register will register type using "namespace.typename" which is less complicated.

Remove the old api RegisterTagType and all its usages.

Related issues

#2611

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change? yes
  • Does this PR introduce any binary protocol compatibility change? no

Benchmark

@junjiexh junjiexh requested a review from chaokunyang October 3, 2025 15:45
@pandalee99 pandalee99 self-requested a review October 5, 2025 10:08
@junjiexh junjiexh requested a review from chaokunyang October 9, 2025 12:17
Copy link
Contributor

@pandalee99 pandalee99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pandalee99 pandalee99 merged commit 646cd54 into apache:main Oct 9, 2025
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants