Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Conversation

@DongLiang-0
Copy link
Contributor

No description provided.

@DongLiang-0 DongLiang-0 requested a review from a team as a code owner July 16, 2025 03:31
@DongLiang-0
Copy link
Contributor Author

/run-it

return reflect.TypeOf(map[string]string{})
case "Unknown":
return reflect.TypeOf(UnknownType{})
func NewBaseTypeWithInstanceName(typeName string, instanceName string) BaseType {
Copy link
Contributor

@pdelewski pdelewski Jul 16, 2025

Choose a reason for hiding this comment

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

I think it would be better to use some const enum instead of string as instanceName


func GetTypeResolver(instanceName string) TypeResolver {
var r TypeResolver
if instanceName == "doris" {
Copy link
Contributor

Choose a reason for hiding this comment

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

As above, const enum would be better IMO

@pdelewski
Copy link
Contributor

Everything looks good to me, except for the point raised above.

@DongLiang-0
Copy link
Contributor Author

Everything looks good to me, except for the point raised above.

Thanks for your review

@DongLiang-0
Copy link
Contributor Author

/run-it

@pdelewski pdelewski added this pull request to the merge queue Jul 16, 2025
Merged via the queue into QuesmaOrg:main with commit 8e9fd74 Jul 16, 2025
7 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Jul 17, 2025
Fixing pretty obvious mistake from recently introduced in
#1495
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants