We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f787b8d commit f2150fdCopy full SHA for f2150fd
src/Nest/Mapping/Visitor/PropertyWalker.cs
@@ -12,7 +12,7 @@ public class PropertyWalker
12
private readonly int _maxRecursion;
13
private readonly ConcurrentDictionary<Type, int> _seenTypes;
14
15
- public PropertyWalker(Type type, IPropertyVisitor visitor, int maxRecursion)
+ public PropertyWalker(Type type, IPropertyVisitor visitor, int maxRecursion = 0)
16
{
17
_type = GetUnderlyingType(type);
18
_visitor = visitor ?? new NoopPropertyVisitor();
0 commit comments