waldo1001 / crs-al-language-extension

Make working with the (Dynamics NAV / 365) AL Language easier and more efficient.
MIT License
34 stars 42 forks source link

Fix issue where table field IDs get quoted if field name contains special chars #295

Closed zeande closed 9 months ago

zeande commented 9 months ago

293 caused a side-effect where the ID of table fields would sometimes get wrapped in double quotes.

This change makes it so that only the relevant AddPrefixAndSuffix methods get called for the object type. For example, the logic to fix page fields will not get called on table objects or tableextension objects.

waldo1001 commented 9 months ago

I was also fixing this - another way - but this seems pretty much the same. So there will be a double check, I guess🤷‍♂️😉