Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to ignore attributes when finding type mapping #32193

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

AndriySvyryd
Copy link
Member

Make existing model building conventions more extensible

Fixes #11124
Fixes #28866

@AndriySvyryd AndriySvyryd requested a review from a team October 31, 2023 00:45
Allow to ignore attributes when finding type mapping

Fixes #11124
Fixes #28866
}

/// <inheritdoc/>
public override RelationalTypeMapping? FindMapping(MemberInfo member, IModel model, bool useAttributes)
Copy link
Contributor

Choose a reason for hiding this comment

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

Might providers need to react to this? @roji @lauxjpn

Copy link
Member

Choose a reason for hiding this comment

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

I don't override any of these FindMapping overloads (which accept MemberInfo) in Npgsql, only the version which accepts RelationalTypeMappingInfo... That should be OK, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep

@AndriySvyryd AndriySvyryd merged commit 60915e7 into main Nov 2, 2023
7 checks passed
@AndriySvyryd AndriySvyryd deleted the Issue11124 branch November 2, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants