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 for lists of primitives in EF with CosmosDb, support Guids #28762

Closed
coffeymatt opened this issue Aug 17, 2022 · 2 comments
Closed

Support for lists of primitives in EF with CosmosDb, support Guids #28762

coffeymatt opened this issue Aug 17, 2022 · 2 comments

Comments

@coffeymatt
Copy link

coffeymatt commented Aug 17, 2022

You support collections of primitives at the moment, so you can have a list of string. I'd like to store a list of Guids in the same way.

https://docs.microsoft.com/en-us/ef/core/providers/cosmos/?tabs=dotnet-core-cli#collections-of-primitive-types

Support a property like this as you do with lists of strings:

public IList<Guid> TechLeadIds { get; set; } = new List<Guid>();

(In the mean time, if I can do this with some mapping, hints would be appreciated!)

@roji
Copy link
Member

roji commented Aug 17, 2022

@coffeymatt did the above not work for you? If so, can you post the full error?

@AndriySvyryd
Copy link
Member

Duplicate of #25343

@AndriySvyryd AndriySvyryd marked this as a duplicate of #25343 Aug 17, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2022
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

4 participants