Skip to content

Conversation

@sudo-suhas
Copy link
Contributor

@sudo-suhas sudo-suhas commented Nov 11, 2022

  • Eliminate the need for special handling of asset proto by introducing the decode hook function for anypb type.
  • Instantiate concrete type for the anypb field using the @type field in given map. This makes it possible into an empty asset proto.
  • Verify data type and presense of data field in given map while decoding into an asset proto.
  • Remove unused type structmap.AssetWrapper. Port the tests for it into structmap_test.go.

@sudo-suhas sudo-suhas force-pushed the structmap-map-to-any branch 2 times, most recently from e6658ac to df0aef8 Compare November 23, 2022 07:25
- Eliminate the need for special handling of asset proto by introducing
  the decode hook function for anypb type.
- Instantiate concrete type for the anypb field using the @type field in
  given map. This makes it possible into an empty asset proto.
- Verify data type and presense of data field in given map while
  decoding into an asset proto.
- Remove unused type structmap.AssetWrapper. Port the tests for it into
  structmap_test.go.
@sudo-suhas sudo-suhas merged commit 12232b4 into main Nov 28, 2022
@sudo-suhas sudo-suhas deleted the structmap-map-to-any branch November 28, 2022 11:14
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.

3 participants