Skip to content

Commit

Permalink
fix: pass on maxNestingDepth to GenerateMappings (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
skolmer authored Jul 17, 2024
1 parent bcf9c71 commit f9dff83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gridify/GridifyMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public GridifyMapper(bool autoGenerateMappings = false, ushort maxNestingDepth =
_mappings = new List<IGMap<T>>();

if (autoGenerateMappings)
GenerateMappings();
GenerateMappings(maxNestingDepth);
}

public GridifyMapper(GridifyMapperConfiguration configuration, bool autoGenerateMappings = false)
Expand Down

0 comments on commit f9dff83

Please sign in to comment.