-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:(thrift) nested thrift type constructor API #41
Conversation
} | ||
} | ||
return STRUCT, p.WriteFieldStop() | ||
default: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: opensource task for the community to encode arbitrary type with reflection, which supports zero-length slice/map.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another approach may be to generate all possible combinations of the types based on go generate
with a template to achieve best performance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
780a3fd
to
70e85df
Compare
70e85df
to
24742ca
Compare
What type of PR is this?
feat
Check the PR title.
(Optional) Translate the PR title into Chinese.
NewTypedNode
未设置实际内容的问题(Optional) More detailed description for this PR(en: English/zh: Chinese).
en:
zh(optional):
(Optional) Which issue(s) this PR fixes:
(optional) The PR that updates user documentation: