-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
OwnedCollection crashes for custom collection types #155
Comments
For now I've figured I could declare my class like so as a workaround: class FooCollection<T> : List<Foo>
where T : Foo But I think we'll agree that we'd rather not do that... :) |
Just modify the source code and add:
I've added simple test for this and others were still green. Also it worked on my DB. |
Thanks!! I know you stopped supporting the project, but is there any chance for this to make it to the NuGet package? |
@kotylo Thank you! Could you add a pull request with this modification and test, please? |
@Dvornik, I just checked this on my collection. The fix may not be that simple, but it works for my simple entities. |
When calling OwnedCollection on a custom collection, I get the following error:
GraphDiff requires the collection to be either IEnumerable or T[]
The custom collection is something like:
The error seems to from this code:
Is there a workaround for this?
The text was updated successfully, but these errors were encountered: