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

Missing using ImmutableObjectGraph when model has ImmutableList<T> fields #116

Open
israellot opened this issue Aug 7, 2019 · 1 comment

Comments

@israellot
Copy link

It seems the generated code uses a extension method ResetContents that requires
using ImmutableObjectGraph; which is not present on the generated file.
It happens when use fields of type ImmutableList

@israellot
Copy link
Author

using ImmutableObjectGraph to original source files solve the compilation error, but is not required on original source files since the [GenerateImmutable] attribute lives in ImmutableObjectGraph.Generation and VS can remove the unused directive on cleanup.

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

No branches or pull requests

1 participant