Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

TypeConverter.ResolveDbType doesnt support Nullable enum, but EnumTypeConverter does #473

Closed
jezza323 opened this issue Nov 10, 2017 · 1 comment

Comments

@jezza323
Copy link
Contributor

jezza323 commented Nov 10, 2017

EnumTypeConverterTests successfully tests Nullable enums, however TypeConverterTests does not

When attempting to use a Nullable enum we experience a NotSupportException thrown from TypeConverter.ResolveDbType as the check for .IsEnum fails on the NullableType

Adding an extra test to TypeConverterTests (PR coming) confirms the issue

@jezza323
Copy link
Contributor Author

See unit test and possible fix in #474

TrevorPilley added a commit that referenced this issue Nov 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants