Skip to content

Conversation

ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

update

What is the current behavior?

AOT support is limited

What is the new behavior?

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.

What might this PR break?

Breaking change

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

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.
Copy link

codecov bot commented Oct 7, 2025

Codecov Report

❌ Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.94%. Comparing base (a6a1304) to head (01dab7b).

Files with missing lines Patch % Lines
Refit/RequestBuilder.cs 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2018      +/-   ##
==========================================
- Coverage   83.03%   82.94%   -0.09%     
==========================================
  Files          35       35              
  Lines        2652     2662      +10     
  Branches      383      383              
==========================================
+ Hits         2202     2208       +6     
- Misses        356      360       +4     
  Partials       94       94              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant