I’m really loving the script stuff. I’m looking to use it to generate partition and row keys in a generic way. Is the script context thread safe? Any performance issues here? If I have just one in a singleton class so it only gets init’d one time and am calling it:
Will this work? Any suggestions?
I am registering how keys get built like:
Then when being used we can easily get the partition key for this class and type:
var item=new MyClass; // …
This also allows us to build a report of all the formats being used, use attributes to do the registrations, etc which is why we are pre-registering them.