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

APP-5312 - serialize data collection methods in upper camel case #238

Conversation

gvaradarajan
Copy link
Member

No description provided.

@gvaradarajan gvaradarajan requested a review from a team as a code owner June 20, 2024 18:13
Copy link
Member

@mattjperez mattjperez left a comment

Choose a reason for hiding this comment

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

LGTM

@maxhorowitz
Copy link
Member

only concern is that this change should be made for all built-in sensor data capture method types - are those 4 the only that exist?

@gvaradarajan
Copy link
Member Author

only concern is that this change should be made for all built-in sensor data capture method types - are those 4 the only that exist?

yes, for now. I'll add a comment so that future methods are done the right way

Copy link
Member

@maxhorowitz maxhorowitz left a comment

Choose a reason for hiding this comment

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

:shipit:

@@ -69,12 +69,14 @@ pub enum CollectionMethod {

impl Display for CollectionMethod {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
// NOTE: Future added methods need to follow the same upper camel case
Copy link
Member

Choose a reason for hiding this comment

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

Thank you!

@maxhorowitz maxhorowitz self-requested a review June 20, 2024 18:39
Copy link
Member

@maxhorowitz maxhorowitz left a comment

Choose a reason for hiding this comment

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

:shipit:

@gvaradarajan gvaradarajan merged commit 26dc4a7 into viamrobotics:main Jun 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants