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

Trying to clone objects containing type PropertyInfo cause stack overflow. #22

Open
JoshWobbles opened this issue Jul 13, 2017 · 2 comments

Comments

@JoshWobbles
Copy link

Seems to have issues with type PropertyInfo. Is there any way to mark properties of this type as excluded or allowed to reference?

@jpreece6
Copy link

Just had the same issue. I solved this issue by creating a custom exclusion attribute, then mark fields that need to be excluded. A check for the exclusion attribute would be added to the CopyFields method.

@MNF
Copy link

MNF commented Jan 23, 2018

It can be done as in pull request “Added ability to opt out of a deep copy for select properties, fields... #16”

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

3 participants