Skip to content

Document why NativeValidation is needed for Native AOT - #5

Merged
kzu merged 1 commit into
mainfrom
dev/docs
Oct 9, 2026
Merged

kzu merged 1 commit into
mainfrom
dev/docs

Conversation

@kzu

@kzu kzu commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Explain the Native AOT and trimming limits of System.ComponentModel.DataAnnotations.Validator, including the RequiresUnreferencedCode annotations and the scope of the options and ASP.NET generators.
  • Add Why, What, and How sections to the main readme, with usage samples and the source generator's open-generics path.
  • Record the primary-source notes in docs/dataannotations-aot.md.

Test plan

  • Read the Why, What, and How sections in the readme and confirm the samples match NativeValidator.
  • Confirm the NuGet readme include still pulls the #content region.

@kzu kzu added the enhancement New feature or request label Oct 9, 2026
@kzu
kzu enabled auto-merge (rebase) October 9, 2026 05:56
@kzu

kzu commented Oct 9, 2026

Copy link
Copy Markdown
Member Author

25 passed 25 passed

🧪 Details on Ubuntu 24.04.5 LTS

from retest v1.1.0 on .NET 10.0.12 with 💜 by @devlooped

@kzu
kzu merged commit 298c293 into main Oct 9, 2026
4 checks passed
@kzu
kzu deleted the dev/docs branch October 9, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant