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

meta: add helper to convert custom types to a Value type #1426

Merged
merged 1 commit into from
May 13, 2021

Conversation

scarlettperry
Copy link
Contributor

@scarlettperry scarlettperry commented May 13, 2021

Description

PR adds a helper for converting a custom type to a Value type. This is useful as structpb.NewValue supports a limited set of types. More details here: golang/protobuf#1302 (comment)

Testing Performed

unit test

@scarlettperry scarlettperry requested a review from a team as a code owner May 13, 2021 19:53
@scarlettperry scarlettperry merged commit 0bd8b41 into main May 13, 2021
@scarlettperry scarlettperry deleted the sperry-add-Value-helper-func branch May 13, 2021 20:15
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