Voyager
Voyager copied to clipboard
Source Generator error when returning an anonymous type
If a function tries to return an anonymous type the source generator generates invalid code causing hard to understand compilation errors.
public IResult Get()
{
return TypedResults.Ok(new { Value = 3 });
}