Adding Postgres Extensions to underlying Npgsql

I’m working with Npgsql.GeoJSON plugin to support GIS types and querying. I currently have it working via global mapping setup, however this is being depreciated in favor of the NpgsqlDataSourceBuilder. I’m wondering if it’s yet possible to enable it via this path in the OrmLite setup.

Obsolete but working for now


New way

var dataSourceBuilder = new NpgsqlDataSourceBuilder(...);
await using var dataSource = dataSourceBuilder.Build();

It’s not supported, you can add feature requests at: