slight feedback on the resource options in golang ...
# golang
b
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
Similar issue in python where users expect it to be snake_case but it needs to be camelCase.