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

Register custom ValueConverter for implicit conversion #909

Closed
Vivelin opened this issue Aug 10, 2018 — with docs.microsoft.com · 1 comment
Closed

Register custom ValueConverter for implicit conversion #909

Vivelin opened this issue Aug 10, 2018 — with docs.microsoft.com · 1 comment

Comments

Copy link

Vivelin commented Aug 10, 2018

The docs mention there is no need to specify a converter explicitly when there is a built-in converter. Is it possible to somehow register custom converters to behave the same way?

For example, I have a custom UriToStringConverter class that I would like to use for multiple Uri properties. Currently, I register the converter for every Uri property separately. I don't know if this is something that's possible but missing from the docs (clearly, it works for built-in converters) or if this is a missing feature.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@ajcvickers
Copy link
Member

@Vivelin This is being tracked by dotnet/efcore#10784

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