-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support .NET 8 Collection Expressions []
#159
Comments
Unfortunately, because of how MSBuild works, supporting .NET higher than 6 in contracts is mostly impossible in the current architecture. Also, initializing properties directly in DTOs is considered an anti-pattern, as this is a representation of the mythical logic. |
Oh, right. I suggested posting an issue because I forgot that the problem is with MSBuild rather than just a missing portion of the reflection.
I somewhat disagree with this, though. For me, it's more about providing a saner default value than |
Exactly - with .NET 8, |
The point is that we can't do that, |
Yes, I know - I'm just saying that provided that we can use .NET 8, then |
File:
Output:
The text was updated successfully, but these errors were encountered: