smutel / terraform-provider-netbox

Terraform provider for Netbox
ISC License
58 stars 19 forks source link

fix: Support FieldName with multiple underscores #215

Closed lgrn closed 1 year ago

lgrn commented 1 year ago

previously, any fields with more than one underscore would not be correctly converted:

short_filter becomes: shortFilter a_longer_filter becomes: aLonger

this change hopefully fixes that by looking for any amount of underscores rather than just one, so 'a_longer_filter' should now become 'aLongerFilter'.

smutel commented 1 year ago

Could you please rename the commit : fix: Support FieldName with multiple underscores ?

smutel commented 1 year ago

You changed the title of the PR. Could you please change the commit message ?

lgrn commented 1 year ago

Admittedly I haven't used Github that much, but I thought you could change the title and commit message to whatever you want when you do the merge?