efcore.pg
efcore.pg copied to clipboard
Make the enumName parameter in NpgsqlDbContextOptionsBuilder.MapEnum<T>() optional.
https://github.com/npgsql/efcore.pg/pull/3167 added NpgsqlDbContextOptionsBuilder.MapEnum<T>()
with the required string parameter enumName
.
We should allow that to get inferred from the CLR type like we do in NpgsqlDataSourceBuilder.MapEnum<T>()