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 #30729

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

Allow mapping arbitrary IEnumerables to arrays #30729

roji opened this issue Apr 19, 2023 · 1 comment

Comments

@roji
Copy link
Member

roji commented Apr 19, 2023

#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 Apr 22, 2023

@AndriySvyryd I opened this on this repo by mistake, this is PG work that shouldn't require anything from core. Opened npgsql/efcore.pg#2726 on the PG side for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants