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

Support non-default NpgsqlTypeMappings as element type mappings in the compiled model #3366

Open
roji opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@roji
Copy link
Member

roji commented Nov 14, 2024

Npgsql has its own NpgsqlTypeMapping, which allows specifying NpgsqlDbType to be used when sending parameters. Unfortunately, there are some limitations when code-generating the compiled model which make it difficult to set such additional custom values (e.g. NpgsqlDbType) on type mappings; I managed to hack this together when the NpgsqlTypeMapping is a top-level mapping, but it gets too complicated when it's nested as an element type mapping.

/cc @AndriySvyryd

Originally reported in #3362

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

1 participant