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

Allow mapping arbitrary IEnumerables to arrays #2726

Closed
roji opened this issue Apr 22, 2023 · 1 comment
Closed

Allow mapping arbitrary IEnumerables to arrays #2726

roji opened this issue Apr 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@roji
Copy link
Member

roji commented Apr 22, 2023

dotnet/efcore#29427 is enabling primitive collection support in EF, and we're implementing that via PostgreSQL arrays. Arrays have been supported in the PG provider for a long while, but was restricted to arrays and List<T>. Since it has been decided on the EF side that we should allow mapping any IEnumerable to a primitive collection in the database, the same should be done on the PG side as well.

@roji
Copy link
Member Author

roji commented May 20, 2023

Note: restricting support to IList for now, because of complexities around change tracking (comparison over non-IList is problematic).

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