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

Limit the mapping levels #14

Open
stesvis opened this issue Feb 9, 2018 · 2 comments
Open

Limit the mapping levels #14

stesvis opened this issue Feb 9, 2018 · 2 comments

Comments

@stesvis
Copy link

stesvis commented Feb 9, 2018

Is there a way to limit the level of the mapping?

Basically the same as the .Net AutoMapper.MaxDepth()
https://github.com/AutoMapper/AutoMapper/blob/835261c00c072f3e08232f0cd86d40750e109690/src/AutoMapper/Configuration/MappingExpression.cs#L86

@mark-gerarts
Copy link
Owner

Not yet - but I'll add it to the roadmap, as it is a nice feature to have.

@stesvis
Copy link
Author

stesvis commented Feb 9, 2018

Thanks.
With objects that reference each other it could end up in an infinite loop..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Release 2.0
  
To do
Development

No branches or pull requests

2 participants