Skip to content
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

Remove Optional from Protobuf AST #165

Merged
merged 1 commit into from
Jul 19, 2021
Merged

Remove Optional from Protobuf AST #165

merged 1 commit into from
Jul 19, 2021

Conversation

evanrelf
Copy link
Contributor

It's a proto2 feature (and this is proto3-suite), and our parser
doesn't look for it, so it never appears in the AST anyways.

Also, I'd value the ability to treat e.g. Maybe ByteString as a
BytesValue and not be uncertain whether it's actually a optional bytes.

It's a `proto2` feature (and this is `proto3-suite`), and our parser
doesn't look for it, so it never appears in the AST anyways.

Also, I'd value the ability to treat e.g. `Maybe ByteString` as a
`BytesValue` and not be uncertain whether it's actually a `optional
bytes`.
evanrelf pushed a commit that referenced this pull request Jul 19, 2021
Removing `Optional` in [#165][pr165] enables this change.

[pr165]: #165
evanrelf pushed a commit that referenced this pull request Jul 19, 2021
Removing `Optional` in [#165][pr165] enables this change.

[pr165]: #165
@evanrelf evanrelf merged commit 0958a82 into master Jul 19, 2021
@evanrelf evanrelf deleted the evan/remove-optional branch July 19, 2021 17:45
evanrelf pushed a commit that referenced this pull request Jul 19, 2021
Removing `Optional` in [#165][pr165] enables this change.

[pr165]: #165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants