-
Notifications
You must be signed in to change notification settings - Fork 225
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 HasData
for List<X> type fields
#2401
Comments
@yinzara you should be able to use an array ( |
yinzara
changed the title
Support
Support Jun 10, 2022
HasData
for Array type fieldsHasData
for List<string> type fields
Yes, that does work :-) I'm actually implementing this right now and have a PR to make it work. |
yinzara
changed the title
Support
Support Jun 10, 2022
HasData
for List<string> type fieldsHasData
for List<X> type fields
yinzara
added a commit
to yinzara/efcore.pg
that referenced
this issue
Jun 10, 2022
yinzara
added a commit
to yinzara/efcore.pg
that referenced
this issue
Jun 10, 2022
Closing as this was done on the EF side (dotnet/efcore#28212). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using a
List<string>
type field, the mapping properly becomes atext[]
type in PostgreSQL and works normally.However we can't use
UseData
with an entity that has this mapping as we get the following exception:I would love it if the type mapping for
List<string>
supported code literal generation.The text was updated successfully, but these errors were encountered: