Skip to content

Commit

Permalink
Fix history type register
Browse files Browse the repository at this point in the history
  • Loading branch information
freehere107 committed Dec 26, 2023
1 parent 95cb892 commit ca31497
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ func EqTypeStringWithTypeStruct(typeString string, dest *source.TypeStruct) bool
typeStrings = append(typeStrings, v[1])
}
return typeName == strings.Join(typeStrings, "")
case "string":
return typeName == getTypeStructString(dest.TypeString, 0)
}
return true
}
Expand Down

0 comments on commit ca31497

Please sign in to comment.