Make value converting nulls internal for 6.0 #26230
Labels
area-type-mapping
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
Servicing-approved
type-enhancement
Milestone
In 6.0 we implemented Allow HasConversion/ValueConverters to convert nulls. However, this has proved to be very problematic in practice with many pitfalls. For example:
These are not trivial issues and for the query issues they are not easy to detect. This makes the feature somewhat a pit-of-failure.
Therefore, we are proposing to mark these APIs as internal for 6.0. This still allows people to use them, but behind an analyzer and documentation warning. (This is similar to marking them as experimental--see EntityFrameworkExperimentalAttribute) We can then make them fully public in a future release after gathering more feedback and possibly making improvements.
The text was updated successfully, but these errors were encountered: