Open noxe opened 3 years ago
I made a test and did a copy of the RenderJavaScriptTypeDefinitions class. i could render my custom activity and simple change the output property type based on the input property in the RenderActivityTypeDeclarationAsync method - this just works fine and intellisense works perfect.
So - i think the easiest way would be to have an way to skip some activities - and render them by an custom INotificationHandler
I think the ConfigureJavaScriptEngine should render only Http Activities - and the RenderJavaScriptTypeDefinitions should NOT render the Http Activities.
At the end i would need an similar behaviour - i want to exclude my custom acitivities - and render them myself ?
Hi,
i have a custom (generic) activity - where the user can select an object type - and based on this we create a new business object.
It is simple like this:
Now i want to provide Intellisense for the Result property. Currently it renders as object type "any" - since it is an object.
Would it be possible to extend the RenderJavaScriptTypeDefinitions class with some event or something like this - i think the main part will be the RenderActivityProperty - when i have a reference here to the activity instance - i could change the output for the Result property from Result(): any; to Result(): MyCustomType; ?