Skip to content

Commit

Permalink
fix: fix frugal slim template
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyJavaBean committed Nov 21, 2024
1 parent 29c9e58 commit 4caddb2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
14 changes: 14 additions & 0 deletions tool/internal_pkg/pluginmode/thriftgo/file_tpl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion tool/internal_pkg/pluginmode/thriftgo/patcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ func (p *patcher) buildTemplates() (err error) {
allTemplates = append(allTemplates, slim.StructLike,
templates.StructLikeDefault,
templates.FieldGetOrSet,
templates.FieldIsSet)
templates.FieldIsSet,
SlimStructLikeDeepEqual,
SlimStructLikeDeepEqualField,
)
} else {
allTemplates = append(allTemplates, structLikeCodec,
structLikeFastRead,
Expand Down

0 comments on commit 4caddb2

Please sign in to comment.