efcore.pg icon indicating copy to clipboard operation
efcore.pg copied to clipboard

Make the enumName parameter in NpgsqlDbContextOptionsBuilder.MapEnum<T>() optional.

Open Brar opened this issue 9 months ago • 10 comments

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>()

Brar avatar May 22 '24 09:05 Brar