Skip to content

Add ability to configure NpgsqlDataSource #1276

@jack775544

Description

@jack775544

Description

When using the AddNpgsqlDbContext or AddNpgsqlDataSource extension methods, there is no way to configure the NpgsqlDataSource that is registered in the service collection.

Configuring the data source is important for things like enum type mapping and spatial support among other things.

Proposed Solution

Add another configure option onto the methods to allow for modification of the data source.

Metadata

Metadata

Assignees

Labels

area-integrationsIssues pertaining to Aspire Integrations packages

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions