Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

feat: oneof support for some pointer types. #162

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

soranoba
Copy link
Contributor

Thank you for the good library.

Now I need to set oneof for a pointer type.
(It cannot be non-ptr because it is necessary to distinguish between nil and 0)

I think this feature is in demand by users other than me, so I will create a PR.
In this PR, we becomes to be able to use other tags other than oneof at the same time on pointer types.

@soranoba
Copy link
Contributor Author

I fixed CI failed by another PR
#163

@bxcodec
Copy link
Owner

bxcodec commented Aug 11, 2022

I fix the CI here #167

Copy link
Owner

@bxcodec bxcodec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bxcodec bxcodec merged commit 44eed96 into bxcodec:master Aug 11, 2022
@bxcodec bxcodec changed the title oneof support for some pointer types. feat: oneof support for some pointer types. Aug 11, 2022
@soranoba soranoba deleted the feature/ptr-oneof branch August 12, 2022 02:51
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.

2 participants