Skip to content

Removed camel case from attributes#635

Merged
dylanratcliffe merged 2 commits into
mainfrom
remove-camel-case
Oct 1, 2024
Merged

Removed camel case from attributes#635
dylanratcliffe merged 2 commits into
mainfrom
remove-camel-case

Conversation

@dylanratcliffe

@dylanratcliffe dylanratcliffe commented Sep 28, 2024

Copy link
Copy Markdown
Member

This was originally implemented In order to standardise the format of the attributes. However we have now realised that it doesn't really matter if the attribute case is standardised or not, and the effort of changing the case comes with a number of downsides. e.g.

  • Updates to the strcase dependency can break the whole source
  • You have to maintain a list of acronyms so that you can downcase somewhat intelligently, but you still end up with things that look broken like aWSSomething rather than AWSSomething

This will also make this PR redundant: #235

This was originally implemented In order to standardise the format of the attributes. However we have now realised that it doesn't really matter if the attribute case is standardised or not, and the effort of changing the case comes with a number of downsides. e.g.

* Updates to the strcase dependency can break the whole source
* You have to maintain a list of acronyms so that you can downcase somewhat intelligently, but you still end up with things that look broken like `aWSSomething` rather than `AWSSomething`
@dylanratcliffe dylanratcliffe linked an issue Sep 28, 2024 that may be closed by this pull request
Comment thread sources/cloudfront/cache_policy.go
@dylanratcliffe dylanratcliffe merged commit 0fe42b7 into main Oct 1, 2024
@dylanratcliffe dylanratcliffe deleted the remove-camel-case branch October 1, 2024 12:36
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.

Remove CamelCase

2 participants