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

RSDK-8892: Remove ProtoType #301

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

lia-viam
Copy link
Contributor

@lia-viam lia-viam commented Oct 2, 2024

This PR finally does the migration for getting rid of ProtoType and AttributeMap in favor of ProtoValue et al.

Sorry in advance this diff is a monster. Generally speaking the changes in header files are just search and replace const AttributeMap& extra for const ProtoStruct& extra, any non-trivial stuff is for the most part happening in implementation files.

There are a lot of simplifications happening in the unit test code and the examples, which were basically the only places where we are actually constructing and using AttributeMap. Even fewer actual uses of ProtoType, mostly in the example code.

@lia-viam lia-viam requested a review from a team as a code owner October 2, 2024 19:12
@lia-viam lia-viam requested review from stuqdog, purplenicole730 and acmorrow and removed request for a team and purplenicole730 October 2, 2024 19:12
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.

1 participant