Closed backfromexile closed 4 years ago
Hi @backfromexile , thank you for the report! Issue should be fixed in 2.3.1
FYI the issue was that when one uses params
with enums the compiler creates an array of int instead of array of enums(value types), this totally makes sense however we haven't tested this scenario before
The following code is part of an ASP.NET Core application and throws this error:
This is the code:
Am I doing something wrong here or can't I inject values into the attributes? Also is there a reason I have to create two different classes for aspect and attribute if I want the attribute to have a not empty constructor?