https://pulumi.com logo
#golang
Title
b

bright-angle-72523

09/08/2023, 3:59 PM
slight feedback on the resource options in golang which require you to specify a property, I was using
IgnoreChanges
for a resource and a bit thrown off by the fact that the property needs to be lowerCamelCase and not upperCamelCase as is the norm in golang
Copy code
-                       pulumi.IgnoreChanges([]string{"ImageUri"}), // ignore changes to the ImageUri property as this is updated from github actions deployment
+                       pulumi.IgnoreChanges([]string{"imageUri"}), // ignore changes to the ImageUri property as this is updated from github actions deployment
if there's a way to have the golang SDK handle this automatically (ie interpret
ImageUri
to mean
imageUri
) I think that could improve ergonomics slightly
e

echoing-dinner-19531

09/10/2023, 10:19 AM
Similar issue in python where users expect it to be snake_case but it needs to be camelCase.