Closed Unreal852 closed 1 year ago
With .NET 7 preview lang version shouldn't be required.
Yes, but it is required by Jab, see the generated Attributes.cs class.
Yeah, but it should be changed for c#11
Yup
I have seen the same issue just now. Targets file checks that the framework is equal to net6.0
. It should actually check that it is greater than or equal to.
Also, these generic attributes are missing type constraints. Like where TImpl: TService
. It would give us errors when writing code, not when compiling. And errors would be more clear.
Hi, i'm using jab in a .NET 7 project with preview lang version (upgraded from .NET 6) but i can't use generic attributes anymore.