Skip to content

[Internal] Feed Range: Fixes 6 AOT violations from FeedRangeInternalConverter, CosmosExceptionFactory and CosmosHttpClientCore#5336

Merged
kirankumarkolli merged 4 commits intomsdata/aotfrom
users/dkunda/fix_aot_warnings_part_2
Aug 6, 2025
Merged

[Internal] Feed Range: Fixes 6 AOT violations from FeedRangeInternalConverter, CosmosExceptionFactory and CosmosHttpClientCore#5336
kirankumarkolli merged 4 commits intomsdata/aotfrom
users/dkunda/fix_aot_warnings_part_2

Conversation

@kundadebdatta
Copy link
Copy Markdown
Member

Pull Request Template

Description

  • Fixes 6 AOT violations from FeedRangeInternalConverter, CosmosExceptionFactory and CosmosHttpClientCore

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Closing issues

To automatically close an issue: closes #IssueNumber

IWebProxy webProxy,
Func<X509Certificate2, X509Chain, SslPolicyErrors, bool> serverCertificateCustomValidationCallback)
{
// TODO: Remove Reflection when multitargetting is possible
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about having two separate implementations in two helpers methods and use pre-processor to select one? Will help port changes between?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - make sense. Let me quickly refactor.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored.

@kundadebdatta kundadebdatta self-assigned this Aug 5, 2025
@kirankumarkolli kirankumarkolli merged commit 79ce6fe into msdata/aot Aug 6, 2025
2 checks passed
@kirankumarkolli kirankumarkolli deleted the users/dkunda/fix_aot_warnings_part_2 branch August 6, 2025 16:37
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.

2 participants