-
Notifications
You must be signed in to change notification settings - Fork 12
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
wit/bindgen: Add JSON tag to Record structs #265
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Lucas Fontes <[email protected]>
Don't forget to |
Signed-off-by: Lucas Fontes <[email protected]>
How do we want to think about zero-value structs? Do we want to serialize, or have |
Ideally I'd like
feels like For now I'm adding |
Given that Go omits fields tagged with Maybe we start without |
68397b3
to
17ff28c
Compare
👍 |
Looks ready to merge! Can you add a note to CHANGELOG.md? |
Related to #239
HostLayout
receivesjson:"-"
and any other field receives the original wit name.