Skip to content
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

"Microsoft.AspNetCore.Components.DataAnnotations.Validation" is still in preview #52685

Closed
1 task done
efonsecab opened this issue Dec 9, 2023 · 2 comments
Closed
1 task done
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved

Comments

@efonsecab
Copy link

efonsecab commented Dec 9, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Not a problem

Describe the solution you'd like

For every project we do where we need to validate models, we use the package "Microsoft.AspNetCore.Components.DataAnnotations.Validation", it comes handy since it has the ValidateComplexTypeAttribute class, however, the package has been in pre-release/rc for way too long and no recent activity in the NuGet package history, so it gets confusing to know if the package is still the one we should use, or if it was integrated into the main framework.
Consider moving the package out of experimental into release for the current nuget package, or integrating it into the main framework defaults.

Additional context

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Dec 9, 2023
@boukenka
Copy link

boukenka commented Dec 9, 2023

This issue has been discussed for some time in this main issue Consider shipping ObjectGraphDataAnnotationsValidator / ValidateComplexTypeAttribute.

@javiercn
Copy link
Member

@efonsecab thanks for contacting us.

As @boukenka pointed out, this is being tracked by the other issue.

We might be looking into this area in .NET 9.0, but for the time being, the package works and won't stop working (any time soon).

The reason we haven't productionized has to do more with the alternative approaches we might want to explore than with the package itself and prioritization in other areas.

@javiercn javiercn added question ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. labels Dec 11, 2023
@ghost ghost added the Status: Resolved label Dec 11, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. question Status: Resolved
Projects
None yet
Development

No branches or pull requests

3 participants