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

Precompiled query/NativeAOT work #3257

Open
roji opened this issue Sep 1, 2024 · 2 comments
Open

Precompiled query/NativeAOT work #3257

roji opened this issue Sep 1, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@roji
Copy link
Member

roji commented Sep 1, 2024

Implement test suites: AdHocPrecompiledQueryRelationalTestBase, PrecompiledQueryRelationalTestBase, PrecompiledSqlPregenerationQueryRelationalTestBase.

@roji roji added the enhancement New feature or request label Sep 1, 2024
@roji roji added this to the 9.0.0 milestone Sep 1, 2024
@roji roji self-assigned this Sep 1, 2024
@ChrisJollyAU
Copy link
Contributor

I have something for this. Most just works straight out the box.

Have a couple that don't work though

The type 'NpgsqlTsQuery' is defined in an assembly that is not referenced. You must add a reference to assembly 'Npgsql, Version=8.0.3.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7'

How do you add a reference to an assembly with precompile queries?

@roji
Copy link
Member Author

roji commented Sep 23, 2024

Initial test work done by @ChrisJollyAU in #3289 (thanks!). We still need to ensure quoting is supported (and tested) by all Npgsql-specific expression types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants