Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Proto3 optional field #15

Merged
merged 2 commits into from
Feb 9, 2023
Merged

Conversation

kevpie
Copy link
Contributor

@kevpie kevpie commented Apr 8, 2022

Enables Marshalling and Unmarshalling the more recent proto3 optional fields capability.

Not thoroughly tested, I hope to use this on some non trivial messages before a merge is even considered.

Looking for feedback and suggestions.

Addresses #13

@devesh25427
Copy link

Are we planning to merge this pull request?

@awltr
Copy link

awltr commented Jul 9, 2022

Would be great if we could merge this pull request

paullesiak added a commit to paullesiak/protoc-gen-go-json that referenced this pull request Sep 19, 2022
@derekperkins
Copy link

This seems sufficient to me. The protojson package is doing the heavy lifting supporting optional, this really just needs to declare support

@derekperkins
Copy link

@mitchellh any hesitations about merging this?

@mitchellh
Copy link
Owner

This looks good thanks! Apologies for the delay. :)

@mitchellh mitchellh merged commit 4990573 into mitchellh:master Feb 9, 2023
@charnan
Copy link

charnan commented Jun 8, 2023

@mitchellh Please create a new tag

@jalaziz
Copy link

jalaziz commented Sep 7, 2023

Just ran into this problem while trying to use the Buf remote plugin. Unfortunately, Buf only releases updates for stable releases. Any chance this will be released soon?

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.

8 participants