elsa-workflows / elsa-workflows/elsa-core
Unable to provide accurate object property suggestions.
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
I have defined an activity in C# and it includes an output:
[ActivityOutput()]
public Exception Exception { get; set; }
This output type cannot be used with JS editing hints in the designer; it always displays "any" as "MyActivityObj.Exception: any"
How can I fix this? Is this issue caused by the simultaneous existence of the "Exception" type definition in JS and C#?
Contributor guide
Research direction
Start by reproducing the C# ActivityOutput using Exception and inspect how the designer generates JavaScript editing hints for MyActivityObj.Exception. Compare the handling of the Exception type definitions in C# and JavaScript, then verify that the designer reports the accurate property type instead of any.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100