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

Fallback to reflection for converting maps to proto structs #93

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

camdencheek
Copy link
Contributor

Description of Changes

Since we can't enumerate every type, for uncommon types, we can fall back to reflection, before an ultimate fallback of fmt.Sprint.

Please check that the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Add a changelog entry (for non-trivial bug fixes / features)
  • CI passes

@camdencheek camdencheek merged commit bf65b6d into master Aug 14, 2020
@camdencheek camdencheek deleted the reflect-backstop branch August 14, 2020 18:44
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