We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been testing version 9.0.0-preview.7 on .NET 9.0 RC1 and I'm getting the following errors:
Failed executing DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] UPDATE jobs AS j SET status = 0 WHERE j.status = 2
As this exception does not happen on .NET 8.0, with efcore.pg version 8.0.4, I assume that the enum mapping is not working correctly on this version.
I'm mapping the enums using NpgsqlDataSourceBuilder.MapEnum<T>().
NpgsqlDataSourceBuilder.MapEnum<T>()
The text was updated successfully, but these errors were encountered:
Yeah, there have been some changes in the area that impact the way enums need to be configured. I'll document this soon.
Sorry, something went wrong.
Docs on the new enum/plugin config
59f6747
Closes npgsql#351
c12440d
roji
Successfully merging a pull request may close this issue.
I've been testing version 9.0.0-preview.7 on .NET 9.0 RC1 and I'm getting the following errors:
As this exception does not happen on .NET 8.0, with efcore.pg version 8.0.4, I assume that the enum mapping is not working correctly on this version.
I'm mapping the enums using
NpgsqlDataSourceBuilder.MapEnum<T>()
.The text was updated successfully, but these errors were encountered: