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

Update summary for default destructuring depth #1357

Merged
merged 2 commits into from Aug 31, 2019
Merged

Update summary for default destructuring depth #1357

merged 2 commits into from Aug 31, 2019

Conversation

rob-earwaker
Copy link
Contributor

What issue does this PR address?
The summary for the LoggerDestructuringConfiguration.ToMaximumDepth method incorrectly states that the default maximum destructuring depth is 5, when in fact the default is 10.

There is no Issue raised for this. Since it does not change any implementation and is such a minor change I assumed it would not be necessary. Let me know if this is not the case and I'll happily add one!

Does this PR introduce a breaking change?
No. This is a documentation change only.

Please check if the PR fulfills these requirements

  • The commit follows our guidelines
  • Unit Tests for the changes have been added (for bug fixes / features)

Other information:
As well as updating the summary, I've also added a test to confirm that the default destructuring depth of 10 is honoured.

Copy link
Member

@nblumhardt nblumhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks Rob.

/// guard against ballooning space when recursive/cyclic structures are accidentally passed. To
/// increase this limit pass a higher value.
/// change this limit pass a new maximum depth.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Successfully merging this pull request may close these issues.

None yet

2 participants