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

SQLite type mapping should not be returned without converter when CLR type does not match #29633

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

ajcvickers
Copy link
Member

Fixes #29521

@ajcvickers ajcvickers requested a review from a team November 21, 2022 11:03
[InlineData("REDOUBLES", typeof(double), DbType.Double)]
[InlineData("OBJECT", typeof(byte[]), DbType.Binary)]
[InlineData("DISCOMBOBULATED", typeof(byte[]), DbType.Binary)]
public void Does_mappings_for_store_type(string storeType, Type clrType, DbType? dbType)
Copy link
Member Author

Choose a reason for hiding this comment

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

That we match types like this in SQLite is very strange. But at this point I don't think we should break it.

@ajcvickers ajcvickers merged commit cf04464 into main Nov 30, 2022
@ajcvickers ajcvickers deleted the EqualityForMost1120 branch November 30, 2022 10:51
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.

SQLite: Exception when using enum on entity
2 participants