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

Convert atlas.rpc.Identifier to snake case instead on lowercase #99

Merged
merged 2 commits into from
Aug 13, 2018

Conversation

Evgeniy-L
Copy link
Contributor

No description provided.

var matchAllCap = regexp.MustCompile("([a-z0-9])([A-Z])")

// CamelToSnake takes a camelcase string and returns a snake case string.
func CamelToSnake(str string) string {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved from errors/mappers/validationerrors/interceptor.go

@Evgeniy-L Evgeniy-L added the breaking change Introduces a backward incompatible change label Aug 10, 2018
Copy link
Contributor

@amaskalenka amaskalenka left a comment

Choose a reason for hiding this comment

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

:\

Copy link
Contributor

@Calebjh Calebjh left a comment

Choose a reason for hiding this comment

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

This doesn't look like a major "breaking change". Is it likely to cause compilation errors or anything?

@Evgeniy-L
Copy link
Contributor Author

@Calebjh, correct, it is a "minor breaking change" :). It will not cause compilation errors, but the behavior will change.

@Evgeniy-L Evgeniy-L merged commit a5187e7 into infobloxopen:master Aug 13, 2018
@Evgeniy-L Evgeniy-L deleted the res_name_camel branch August 13, 2018 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Introduces a backward incompatible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants