Skip to content

Conversation

@lia-viam
Copy link
Collaborator

Now that we're done the migration the v2 namespace is no longer necessary.

In the process of doing this it turned out the v2 namespace was having more than cosmetic effects--I have changed to_proto and from_proto to regular functions rather than callable objects, and introduced using declarations for them in various private client.cpp and server.cpp files so that in cases where there is a private impl::to_proto, overload resolution still finds the omni-conversion functions in the parent namespace.

@lia-viam lia-viam requested a review from stuqdog January 13, 2025 19:16
@lia-viam lia-viam requested a review from a team as a code owner January 13, 2025 19:16
@lia-viam lia-viam requested review from purplenicole730 and removed request for a team January 13, 2025 19:16
Copy link
Member

@stuqdog stuqdog left a comment

Choose a reason for hiding this comment

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

nice, lgtm! 🚀

@lia-viam lia-viam merged commit 836b8ff into viamrobotics:main Jan 15, 2025
4 checks passed
@lia-viam lia-viam deleted the as-func branch January 15, 2025 20:25
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