Closed hazzinator1 closed 3 weeks ago
Can you try this with Metalama 2024.2 preview? We made changes there exactly for this situation.
I'm closing this issue, since it should be fixed in Metalama 2024.2 preview. If the problem remains, please comment here and we will reopen the issue.
I am using aspects to automatically do a UnitOfWork call at the end of some of my services
However, after being applied to one of the methods like below:
The constructor comes up with this warning:![image](https://github.com/postsharp/Metalama/assets/124360604/0c44a21b-9ef9-4698-93b1-3452f00ecd5f)
I can't find anyway of removing this warning, aside from disabling the nullable warning on this line, which doesn't feel like a good solution. I have tried
IsRequired = true
on the aspect, but that doesn't seem to affect anything. Any advice?