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

NpgsqlConnection.GlobalTypeMapper.UseGeoJson();

New way

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

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

https://servicestack.net/ideas