Tag: Npgsql
-
Npgsql 8.0, Entity Framework Core and JSON POCOs
Npgsql 8.0 introduced NativeAOT and trimming support (hooray!), which necessitated explicit opt-ins to some dynamic coding practices that are incompatible with NativeAOT/trimming. One of these is JSON POCO mapping which I use quite heavily in some of my projects (boo! hiss!) As mentioned, though, it is opt-in via NpgsqlDataSourceBuilder introduced in Npgsql 7.0 or the…