it works, thanks! But still fails with any other constraint than enum.
E.g. public class TestAction<T> : ActionTask where T : MyAbstractClass public class TestAction<T> : ActionTask where T : IMyInterface
I added these types to the list.
So the issue is a bit more complex here. If so, an appropriate notice in the Generic tasks\AOTdocs section can be helpful. If it’s hard or impossible to generate such dummies it would be nice to have errors/warnings on AOT created also.