Skip to content

Commit 435f1d6

Browse files
github-actions[bot]arika0093
authored andcommitted
chore: apply formatting
(cherry picked from commit 486497b)
1 parent ad79231 commit 435f1d6

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/Linqraft.Core/SelectExprInfo.cs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,9 @@ int indents
553553

554554
// Generate property assignments for nested DTO with proper formatting
555555
// Properties should be indented two levels from the base (one for Select block, one for properties)
556-
var propertyIndentSpaces = CodeFormatter.IndentSpaces(indents + CodeFormatter.IndentSize * 2);
556+
var propertyIndentSpaces = CodeFormatter.IndentSpaces(
557+
indents + CodeFormatter.IndentSize * 2
558+
);
557559
var propertyAssignments = new List<string>();
558560
foreach (var prop in nestedStructure.Properties)
559561
{
@@ -700,7 +702,9 @@ int indents
700702

701703
// Generate property assignments for nested DTO with proper formatting
702704
// Properties should be indented two levels from the base (one for SelectMany block, one for properties)
703-
var propertyIndentSpaces = CodeFormatter.IndentSpaces(indents + CodeFormatter.IndentSize * 2);
705+
var propertyIndentSpaces = CodeFormatter.IndentSpaces(
706+
indents + CodeFormatter.IndentSize * 2
707+
);
704708
var propertyAssignments = new List<string>();
705709
foreach (var prop in nestedStructure.Properties)
706710
{
@@ -710,7 +714,10 @@ int indents
710714
);
711715
propertyAssignments.Add($"{propertyIndentSpaces}{prop.Name} = {assignment}");
712716
}
713-
var propertiesCode = string.Join($",{CodeFormatter.DefaultNewLine}", propertyAssignments);
717+
var propertiesCode = string.Join(
718+
$",{CodeFormatter.DefaultNewLine}",
719+
propertyAssignments
720+
);
714721

715722
// Format chained methods with proper indentation (one level from base)
716723
var formattedChainedMethods = FormatChainedMethods(chainedMethods, innerSpaces);

0 commit comments

Comments
 (0)