@@ -48,15 +48,15 @@ public QueryLayerComposer(IEnumerable<IQueryConstraintProvider> constraintProvid
4848 ExpressionInScope [ ] constraints = _constraintProviders . SelectMany ( provider => provider . GetConstraints ( ) ) . ToArray ( ) ;
4949
5050 // @formatter:wrap_chained_method_calls chop_always
51- // @formatter:keep_existing_linebreaks true
51+ // @formatter:wrap_before_first_method_call true
5252
5353 FilterExpression [ ] filtersInTopScope = constraints
5454 . Where ( constraint => constraint . Scope == null )
5555 . Select ( constraint => constraint . Expression )
5656 . OfType < FilterExpression > ( )
5757 . ToArray ( ) ;
5858
59- // @formatter:keep_existing_linebreaks restore
59+ // @formatter:wrap_before_first_method_call restore
6060 // @formatter:wrap_chained_method_calls restore
6161
6262 return GetFilter ( filtersInTopScope , primaryResourceType ) ;
@@ -83,15 +83,15 @@ public QueryLayerComposer(IEnumerable<IQueryConstraintProvider> constraintProvid
8383 ExpressionInScope [ ] constraints = _constraintProviders . SelectMany ( provider => provider . GetConstraints ( ) ) . ToArray ( ) ;
8484
8585 // @formatter:wrap_chained_method_calls chop_always
86- // @formatter:keep_existing_linebreaks true
86+ // @formatter:wrap_before_first_method_call true
8787
8888 FilterExpression [ ] filtersInSecondaryScope = constraints
8989 . Where ( constraint => constraint . Scope == null )
9090 . Select ( constraint => constraint . Expression )
9191 . OfType < FilterExpression > ( )
9292 . ToArray ( ) ;
9393
94- // @formatter:keep_existing_linebreaks restore
94+ // @formatter:wrap_before_first_method_call restore
9595 // @formatter:wrap_chained_method_calls restore
9696
9797 FilterExpression ? primaryFilter = GetFilter ( Array . Empty < QueryExpression > ( ) , hasManyRelationship . LeftType ) ;
@@ -146,14 +146,14 @@ private QueryLayer ComposeTopLayer(IEnumerable<ExpressionInScope> constraints, R
146146 using IDisposable _ = CodeTimingSessionManager . Current . Measure ( "Top-level query composition" ) ;
147147
148148 // @formatter:wrap_chained_method_calls chop_always
149- // @formatter:keep_existing_linebreaks true
149+ // @formatter:wrap_before_first_method_call true
150150
151151 QueryExpression [ ] expressionsInTopScope = constraints
152152 . Where ( constraint => constraint . Scope == null )
153153 . Select ( constraint => constraint . Expression )
154154 . ToArray ( ) ;
155155
156- // @formatter:keep_existing_linebreaks restore
156+ // @formatter:wrap_before_first_method_call restore
157157 // @formatter:wrap_chained_method_calls restore
158158
159159 PaginationExpression topPagination = GetPagination ( expressionsInTopScope , resourceType ) ;
@@ -174,15 +174,15 @@ private IncludeExpression ComposeChildren(QueryLayer topLayer, ICollection<Expre
174174 using IDisposable _ = CodeTimingSessionManager . Current . Measure ( "Nested query composition" ) ;
175175
176176 // @formatter:wrap_chained_method_calls chop_always
177- // @formatter:keep_existing_linebreaks true
177+ // @formatter:wrap_before_first_method_call true
178178
179179 IncludeExpression include = constraints
180180 . Where ( constraint => constraint . Scope == null )
181181 . Select ( constraint => constraint . Expression )
182182 . OfType < IncludeExpression > ( )
183183 . FirstOrDefault ( ) ?? IncludeExpression . Empty ;
184184
185- // @formatter:keep_existing_linebreaks restore
185+ // @formatter:wrap_before_first_method_call restore
186186 // @formatter:wrap_chained_method_calls restore
187187
188188 IImmutableSet < IncludeElementExpression > includeElements = ProcessIncludeSet ( include . Elements , topLayer , new List < RelationshipAttribute > ( ) , constraints ) ;
@@ -212,15 +212,14 @@ private IImmutableSet<IncludeElementExpression> ProcessIncludeSet(IImmutableSet<
212212 } ;
213213
214214 // @formatter:wrap_chained_method_calls chop_always
215- // @formatter:keep_existing_linebreaks true
215+ // @formatter:wrap_before_first_method_call true
216216
217217 QueryExpression [ ] expressionsInCurrentScope = constraints
218- . Where ( constraint =>
219- constraint . Scope != null && constraint . Scope . Fields . SequenceEqual ( relationshipChain ) )
218+ . Where ( constraint => constraint . Scope != null && constraint . Scope . Fields . SequenceEqual ( relationshipChain ) )
220219 . Select ( constraint => constraint . Expression )
221220 . ToArray ( ) ;
222221
223- // @formatter:keep_existing_linebreaks restore
222+ // @formatter:wrap_before_first_method_call restore
224223 // @formatter:wrap_chained_method_calls restore
225224
226225 ResourceType resourceType = includeElement . Relationship . RightType ;
0 commit comments