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

[Sugestion] Add Parameterless Constructor to EfCoreValueConverter #50

Closed
LeonLeitheusser opened this issue Feb 16, 2022 · 2 comments
Closed

Comments

@LeonLeitheusser
Copy link

With EF Core 6 the possibility of global conversions was introduced. But to set them up a parameterless Constructor is needed.
Currently this Feature is not documented but a pullrequest is on the way: https://github.com/dotnet/EntityFramework.Docs/pull/3716/commits. The only change needed to get it to work ist adding the parameterless constructor to the EfCoreValueConverter. After that the only thing the user has to do ist to add the converters in the ConfigureConventions method override.

@andrewlock
Copy link
Owner

Great, thanks, I didn't realise that was a requirement - I'll push out a fix for this soon 🙂

@andrewlock
Copy link
Owner

Thanks, this should be available in NuGet shortly as 1.0.0-beta06

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

No branches or pull requests

2 participants