objectscript changes in Caché IRIS migration to IRIS
HI ! I'm working on a caché upgrade to IRIS.
in some abstration cls classes, to get a property was used $METHOD(..Obj, propertyName_"Get").
On Caché 2018, had as a return property value, if the property does not exists, an exception of type <PROPERTY DOES NOT EXIST> throwed
Now, on IRIS 2022.1, will always be throwed an exception of type "<METHOD DOES NOT EXIST>".
I can change $METHOD to $PROPERTY, but as it is an abstract class, I cannot guarantee the type of the referenced Object, if the property is encapsulated or private, I need call $METHOD(..Obj, propertyName_"Get").
What would be the ideal way to solve this problem?
Have people in the community already gone through similar behavior changes when evolving the database to IRIS?
(Cahé X IRIS)