Details
Description
If you create a content type with a ezstring field that an identifier that has the same name listed in [location, content]
blindly changes it to value.getLocation(), value.getContent(), this is the wrong behavior and breaks
Should check if this is the case before substituting or reserve these identifiers from being used
expected output
location: type: String resolve: '@=resolver("ItemFieldValue", [value, "location", args])' args: language: { type: RepositoryLanguage }
actual output
location: type: String resolve: '@=resolver("ItemFieldValue", [value, "value.getLocation()", args])' args: language: { type: RepositoryLanguage }
Perhaps using a regex to avoid if the identifier is in quotes?