I’m looking to rename object property API names to be more accurately descriptive of the field. My current understanding is that this will break anything that uses the existing API name like FoOs.
Is there a streamlined, comprehensive way to ensure all references to the API name are updated accordingly? Is there a way to bulk search/replace property API names across the code repo? If not, would love any tips on how best to proceed!
I don’t know of any way of updating the API name in the Ontology Manager, and then having that cascade through all consuming Functions in multiple repos - that would be useful.
But, if you’re only doing it in one repo, and assuming that both before and after the change the name is unique, then a global find an replace (the magnifying glass symbol on the left) would work. Perhaps with some regex if you need to be more specific. That can do it across all files in the repo (but unlike the in-file find and replace you can’t use regex capturing groups in your substitution - but for a simple case like this, that’s probably not a problem).