Hello Ashok, this is a great article, thanks for sharing it!
However, I would like to ask how to create an oref using a property index. For example, considering the class:
Class User.Test Extends %Persistent
{
Property Code As %String(MAXLEN = 50) [ Required ];
Index CodeIdx On CodeIdx [ Unique ];
}
In ObjectScript I can use the following syntax to open the oref using its ID:
set obj = ##class(User.Test).CodeIdxOpen(ID)
In the same way I can use the CodeIdxDelete or CodeIdxExists as well.
I was wondering how to obtain the same result in Embedded Python.
Hello Brett, thank you so much for the suggestions. I've installed Wireshark but, since I've never used it before, I find it a bit tricky. Do you have any advice on how to use it to capture the network trace from Visual Studio Code during saving operations?
P.S. actually I have the same identical issue with Codeium and I tried to contact them but they've never answered me :(
Luckily today a free version of GitHub Copilot which is working with ObjectScript has just been released
Thanks for the clarification Ashok! I solved in a similar way. It would be good in a future version to have the possibility of executing generated methods too.