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

refactor: Rename DumpToYaml -> DumpNormalizedYAML #656

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adombeck
Copy link
Contributor

@adombeck adombeck commented Nov 26, 2024

I was surprised that "DumpToYaml" modifies some values in the returned YAML. The new name should be less surprising.

It also contains the acronym YAML in uppercase, as recommended by the Go Code Review Comments: https://go.dev/wiki/CodeReviewComments#initialisms

Also improves the doc comment of the function.

UDENG-5450

I was surprised that "DumpToYaml" modifies some values in the returned
YAML. The new name should be less surprising.

It also contains the acronym YAML in uppercase, as recommended by the Go
Code Review Comments: https://go.dev/wiki/CodeReviewComments#initialisms

Also improves the doc comment of the function.
@adombeck adombeck changed the title refactor: Rename DumpToYaml -> ToNormalizedYAML refactor: Rename DumpToYaml -> DumpNormalizedYAML Nov 26, 2024
@adombeck adombeck marked this pull request as ready for review November 28, 2024 16:04
@adombeck adombeck requested a review from a team as a code owner November 28, 2024 16:04
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