Support non-primitive parameters
Closed this issue · 0 comments
domn1995 commented
As a developer, I want my union definitions to support non-primitive parameters, so that I can build more complex and useful unions.
I should be able to do something like this:
using System;
[Union]
interface IResult
{
void Created(Guid id);
void Failure(Exception error);
}
This currently fails to compile because the imports are not part of the generated code.