Skip to content

Refactor GetConversion#37867

Merged
AndriySvyryd merged 2 commits intomainfrom
RefactorGetConversion
Mar 6, 2026
Merged

Refactor GetConversion#37867
AndriySvyryd merged 2 commits intomainfrom
RefactorGetConversion

Conversation

@AndriySvyryd
Copy link
Copy Markdown
Member

No description provided.

@AndriySvyryd AndriySvyryd requested a review from a team as a code owner March 6, 2026 05:01
Copilot AI review requested due to automatic review settings March 6, 2026 05:01
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refactors Property.GetConversion(...) traversal and annotation-reading logic in EFCore metadata to reduce duplication and centralize conversion-annotation validation.

Changes:

  • Extracted traversal-queue/cycle-handling logic into a local EnqueueForTraversal helper.
  • Replaced the previous inline annotation reads with TryGetConversion + TryFindAndValidateConversionAnnotation helpers to unify conflict checking for ValueConverter, ValueConverterType, and ProviderClrType.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread src/EFCore/Metadata/Internal/Property.cs
Comment thread src/EFCore/Metadata/Internal/Property.cs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 6, 2026 05:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


You can also share your feedback on Copilot code review. Take the survey.

@AndriySvyryd AndriySvyryd merged commit 11a0a69 into main Mar 6, 2026
14 checks passed
@AndriySvyryd AndriySvyryd deleted the RefactorGetConversion branch March 6, 2026 16:08
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.

3 participants