Skip to content

proto: use anyConvertAndValidate where applicable#9726

Merged
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
junr03:any-convert
Jan 19, 2020
Merged

proto: use anyConvertAndValidate where applicable#9726
mattklein123 merged 3 commits intoenvoyproxy:masterfrom
junr03:any-convert

Conversation

@junr03
Copy link
Member

@junr03 junr03 commented Jan 17, 2020

Description: #9516 introduced anyConvertAndValidate. This PR changes call sites to the new function where applicable.
Risk Level: low. Logic remains the same just cleaning up double function calls for one.
Testing: CI. Also added unit test for anyConvertAndValidate

Fixes #9712

Jose Nino added 2 commits January 17, 2020 15:19
Signed-off-by: Jose Nino <jnino@lyft.com>
fmt
Signed-off-by: Jose Nino <jnino@lyft.com>
mattklein123
mattklein123 previously approved these changes Jan 17, 2020
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Awesome cleanup, thank you!

@junr03
Copy link
Member Author

junr03 commented Jan 18, 2020

thanks for the suggestion! I'll merge when tests pass.

htuch
htuch previously approved these changes Jan 18, 2020
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Feel free to merge, but if you need to do another push, please fix nit.

Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03 junr03 dismissed stale reviews from htuch and mattklein123 via 9a22a5f January 19, 2020 16:22
@mattklein123 mattklein123 merged commit 334724c into envoyproxy:master Jan 19, 2020
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.

protobuf: update pertinent sites to anyConvertAndValidate

3 participants