Skip to content

Rename fields of printed structs to snake case #85

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

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Dec 14, 2021

Motivation

Improvement to make cli feedback a bit more programmers and tools friendly. Without this change, you have to quote the name of the variables to prevent a parser to interpret to - as an arithmetic (or whatever) minus sign.
from @manchoz

Change description

rename printed fields and json tags to snake case

Additional Notes

Reviewer checklist

  • PR address a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.
  • History is clean, commit messages are meaningful (see CONTRIBUTING.md) and are well formatted.

@polldo polldo requested a review from glumia December 14, 2021 10:33
@polldo polldo merged commit b9d1f55 into main Dec 14, 2021
@polldo polldo deleted the polldo/print-snake-case branch December 14, 2021 14:56
polldo pushed a commit that referenced this pull request Sep 2, 2022
Improvement to make cli feedback a bit more programmers and tools friendly. Without this change, one has to quote the name of the variables to prevent a parser to interpret '-' as an arithmetic (or whatever) minus sign.
polldo pushed a commit that referenced this pull request Sep 2, 2022
Improvement to make cli feedback a bit more programmers and tools friendly. Without this change, one has to quote the name of the variables to prevent a parser to interpret '-' as an arithmetic (or whatever) minus sign.
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