Add AOT and trimming support for .NET 10+ by ChrisPulman · Pull Request #2018 · reactiveui/refit

@ChrisPulman

Introduces AOT compatibility and trimming support by adding new polyfills, attributes, and conditional logic for .NET 10 and higher. Updates project files to mark assemblies as trimmable and set related properties. Enhances RequestBuilder APIs with trimming annotations and DynamicallyAccessedMembers attributes to ensure compatibility with reflection and code trimming. Also updates dependencies for netstandard2.0/net462 and suppresses a new code analysis warning in tests.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators

Dec 2, 2025