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

chore: codebase cleanup for avrogen and avrosv #305

Merged
merged 3 commits into from
Sep 7, 2023
Merged

chore: codebase cleanup for avrogen and avrosv #305

merged 3 commits into from
Sep 7, 2023

Conversation

hhromic
Copy link
Contributor

@hhromic hhromic commented Sep 6, 2023

This PR mainly resolves technical debt left over in avrosv after the improvements in avrogen.

Two chore commits are included:

  • chore: rename and rearrange io.Writer arguments in avrogen
  • chore: improve code and tests in avrosv after avrogen

The first one is to cleanup the ugly out/dumpout argument names into clearer meanings and logical order.
The second one mostly brings up all the recent unit tests improvements from avrogen into avrosv.

I also added an extra bad schema test case to the avrosv stdout unit test.

Copy link
Member

@nrwiersma nrwiersma left a comment

Choose a reason for hiding this comment

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

LGTM 🎉 Appreciate you taking the time to do this.

@nrwiersma nrwiersma merged commit 30e7a39 into hamba:main Sep 7, 2023
3 checks passed
@hhromic hhromic deleted the cmd-tech-debt branch September 7, 2023 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants