Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Npgsql component doesn't allow configuration of the NpgsqlDbContextOptionsBuilder #438

Closed
davidfowl opened this issue Oct 22, 2023 · 0 comments · Fixed by #630
Closed

Npgsql component doesn't allow configuration of the NpgsqlDbContextOptionsBuilder #438

davidfowl opened this issue Oct 22, 2023 · 0 comments · Fixed by #630
Assignees
Labels
area-integrations Issues pertaining to Aspire Integrations packages

Comments

@davidfowl
Copy link
Member

davidfowl commented Oct 22, 2023

I'm trying to turn on pgvector support using the aspire component and it seems like we don't have an easy overload to allow passing through a lambda that provides access to the NpgsqlDbContextOptionsBuilder before the DbContextOptions are built.

We should do the same for all of the other EF providers.

@davidfowl davidfowl added the area-integrations Issues pertaining to Aspire Integrations packages label Oct 22, 2023
@eerhardt eerhardt added this to the preview-1 week milestone Oct 23, 2023
@eerhardt eerhardt self-assigned this Nov 1, 2023
eerhardt added a commit that referenced this issue Nov 1, 2023
* Allow for configuring DbContextOptions in EF Components

Fix #438

* Enable Npgsql Meter instead of using EventCounters

Need to disable the prepared_ratio instrument until #629 is fixed.

Fix #442

* Update Telemetry doc for updated Metrics
eerhardt added a commit that referenced this issue Nov 1, 2023
* Allow for configuring DbContextOptions in EF Components

Fix #438

* Enable Npgsql Meter instead of using EventCounters

Need to disable the prepared_ratio instrument until #629 is fixed.

Fix #442

* Update Telemetry doc for updated Metrics
joperezr pushed a commit that referenced this issue Nov 1, 2023
* Allow for configuring DbContextOptions in EF Components

Fix #438

* Enable Npgsql Meter instead of using EventCounters

Need to disable the prepared_ratio instrument until #629 is fixed.

Fix #442

* Update Telemetry doc for updated Metrics
joperezr added a commit that referenced this issue Nov 14, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants