@@ -214,7 +214,7 @@ <h2 class="section" id="methods">Methods
214
214
215
215
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_ComposeForGetById__1___0_JsonApiDotNetCore_Configuration_ResourceType_JsonApiDotNetCore_Queries_TopFieldSelection_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.ComposeForGetById``1(``0,JsonApiDotNetCore.Configuration.ResourceType,JsonApiDotNetCore.Queries.TopFieldSelection) ">
216
216
ComposeForGetById<TId>(TId, ResourceType, TopFieldSelection)
217
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L278 "> < i class ="bi bi-code-slash "> </ i > </ a >
217
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L311 "> < i class ="bi bi-code-slash "> </ i > </ a >
218
218
</ h3 >
219
219
220
220
< div class ="markdown level1 summary "> < p > Collects constraints and builds a < a class ="xref " href ="JsonApiDotNetCore.Queries.QueryLayer.html "> QueryLayer</ a > out of them, used to retrieve one resource.</ p >
@@ -260,7 +260,7 @@ <h4 class="section">Type Parameters</h4>
260
260
261
261
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_ComposeForGetRelationshipRightIds_JsonApiDotNetCore_Resources_Annotations_RelationshipAttribute_System_Collections_Generic_ICollection_JsonApiDotNetCore_Resources_IIdentifiable__ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.ComposeForGetRelationshipRightIds(JsonApiDotNetCore.Resources.Annotations.RelationshipAttribute,System.Collections.Generic.ICollection{JsonApiDotNetCore.Resources.IIdentifiable}) ">
262
262
ComposeForGetRelationshipRightIds(RelationshipAttribute, ICollection<IIdentifiable>)
263
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L430 "> < i class ="bi bi-code-slash "> </ i > </ a >
263
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L463 "> < i class ="bi bi-code-slash "> </ i > </ a >
264
264
</ h3 >
265
265
266
266
< div class ="markdown level1 summary "> < p > Builds a query for the specified relationship with a filter to match on its right resource IDs.</ p >
@@ -299,7 +299,7 @@ <h4 class="section">Returns</h4>
299
299
300
300
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_ComposeForGetTargetedSecondaryResourceIds_JsonApiDotNetCore_Resources_IIdentifiable_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.ComposeForGetTargetedSecondaryResourceIds(JsonApiDotNetCore.Resources.IIdentifiable) ">
301
301
ComposeForGetTargetedSecondaryResourceIds(IIdentifiable)
302
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L412 "> < i class ="bi bi-code-slash "> </ i > </ a >
302
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L445 "> < i class ="bi bi-code-slash "> </ i > </ a >
303
303
</ h3 >
304
304
305
305
< div class ="markdown level1 summary "> < p > Builds a query for each targeted relationship with a filter to match on its right resource IDs.</ p >
@@ -336,7 +336,7 @@ <h4 class="section">Returns</h4>
336
336
337
337
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_ComposeForHasMany__1_JsonApiDotNetCore_Resources_Annotations_HasManyAttribute___0_System_Collections_Generic_ICollection_JsonApiDotNetCore_Resources_IIdentifiable__ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.ComposeForHasMany``1(JsonApiDotNetCore.Resources.Annotations.HasManyAttribute,``0,System.Collections.Generic.ICollection{JsonApiDotNetCore.Resources.IIdentifiable}) ">
338
338
ComposeForHasMany<TId>(HasManyAttribute, TId, ICollection<IIdentifiable>)
339
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L455 "> < i class ="bi bi-code-slash "> </ i > </ a >
339
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L488 "> < i class ="bi bi-code-slash "> </ i > </ a >
340
340
</ h3 >
341
341
342
342
< div class ="markdown level1 summary "> < p > Builds a query for a to-many relationship with a filter to match on its left and right resource IDs.</ p >
@@ -382,7 +382,7 @@ <h4 class="section">Type Parameters</h4>
382
382
383
383
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_ComposeForUpdate__1___0_JsonApiDotNetCore_Configuration_ResourceType_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.ComposeForUpdate``1(``0,JsonApiDotNetCore.Configuration.ResourceType) ">
384
384
ComposeForUpdate<TId>(TId, ResourceType)
385
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L392 "> < i class ="bi bi-code-slash "> </ i > </ a >
385
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L425 "> < i class ="bi bi-code-slash "> </ i > </ a >
386
386
</ h3 >
387
387
388
388
< div class ="markdown level1 summary "> < p > Builds a query that retrieves the primary resource, including all of its attributes and all targeted relationships, during a create/update/delete
@@ -464,7 +464,7 @@ <h4 class="section">Returns</h4>
464
464
465
465
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_ComposeSecondaryLayerForRelationship_JsonApiDotNetCore_Configuration_ResourceType_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.ComposeSecondaryLayerForRelationship(JsonApiDotNetCore.Configuration.ResourceType) ">
466
466
ComposeSecondaryLayerForRelationship(ResourceType)
467
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L306 "> < i class ="bi bi-code-slash "> </ i > </ a >
467
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L339 "> < i class ="bi bi-code-slash "> </ i > </ a >
468
468
</ h3 >
469
469
470
470
< div class ="markdown level1 summary "> < p > Collects constraints and builds the secondary layer for a relationship endpoint.</ p >
@@ -501,7 +501,7 @@ <h4 class="section">Returns</h4>
501
501
502
502
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_GetFilter_System_Collections_Generic_IReadOnlyCollection_JsonApiDotNetCore_Queries_Expressions_QueryExpression__JsonApiDotNetCore_Configuration_ResourceType_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.GetFilter(System.Collections.Generic.IReadOnlyCollection{JsonApiDotNetCore.Queries.Expressions.QueryExpression},JsonApiDotNetCore.Configuration.ResourceType) ">
503
503
GetFilter(IReadOnlyCollection<QueryExpression>, ResourceType)
504
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L499 "> < i class ="bi bi-code-slash "> </ i > </ a >
504
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L532 "> < i class ="bi bi-code-slash "> </ i > </ a >
505
505
</ h3 >
506
506
507
507
< div class ="markdown level1 summary "> </ div >
@@ -539,7 +539,7 @@ <h4 class="section">Returns</h4>
539
539
540
540
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_GetIncludeElements_System_Collections_Immutable_IImmutableSet_JsonApiDotNetCore_Queries_Expressions_IncludeElementExpression__JsonApiDotNetCore_Configuration_ResourceType_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.GetIncludeElements(System.Collections.Immutable.IImmutableSet{JsonApiDotNetCore.Queries.Expressions.IncludeElementExpression},JsonApiDotNetCore.Configuration.ResourceType) ">
541
541
GetIncludeElements(IImmutableSet<IncludeElementExpression>, ResourceType)
542
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L490 "> < i class ="bi bi-code-slash "> </ i > </ a >
542
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L523 "> < i class ="bi bi-code-slash "> </ i > </ a >
543
543
</ h3 >
544
544
545
545
< div class ="markdown level1 summary "> </ div >
@@ -577,7 +577,7 @@ <h4 class="section">Returns</h4>
577
577
578
578
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_GetPagination_System_Collections_Generic_IReadOnlyCollection_JsonApiDotNetCore_Queries_Expressions_QueryExpression__JsonApiDotNetCore_Configuration_ResourceType_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.GetPagination(System.Collections.Generic.IReadOnlyCollection{JsonApiDotNetCore.Queries.Expressions.QueryExpression},JsonApiDotNetCore.Configuration.ResourceType) ">
579
579
GetPagination(IReadOnlyCollection<QueryExpression>, ResourceType)
580
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L529 "> < i class ="bi bi-code-slash "> </ i > </ a >
580
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L560 "> < i class ="bi bi-code-slash "> </ i > </ a >
581
581
</ h3 >
582
582
583
583
< div class ="markdown level1 summary "> </ div >
@@ -696,7 +696,7 @@ <h4 class="section">Type Parameters</h4>
696
696
697
697
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_GetSelectionForSparseAttributeSet_JsonApiDotNetCore_Configuration_ResourceType_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.GetSelectionForSparseAttributeSet(JsonApiDotNetCore.Configuration.ResourceType) ">
698
698
GetSelectionForSparseAttributeSet(ResourceType)
699
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L544 "> < i class ="bi bi-code-slash "> </ i > </ a >
699
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L575 "> < i class ="bi bi-code-slash "> </ i > </ a >
700
700
</ h3 >
701
701
702
702
< div class ="markdown level1 summary "> </ div >
@@ -732,14 +732,14 @@ <h4 class="section">Returns</h4>
732
732
733
733
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_GetSort_System_Collections_Generic_IReadOnlyCollection_JsonApiDotNetCore_Queries_Expressions_QueryExpression__JsonApiDotNetCore_Configuration_ResourceType_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.GetSort(System.Collections.Generic.IReadOnlyCollection{JsonApiDotNetCore.Queries.Expressions.QueryExpression},JsonApiDotNetCore.Configuration.ResourceType) ">
734
734
GetSort(IReadOnlyCollection<QueryExpression>, ResourceType)
735
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L510 "> < i class ="bi bi-code-slash "> </ i > </ a >
735
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L543 "> < i class ="bi bi-code-slash "> </ i > </ a >
736
736
</ h3 >
737
737
738
738
< div class ="markdown level1 summary "> </ div >
739
739
< div class ="markdown level1 conceptual "> </ div >
740
740
741
741
< div class ="codewrapper ">
742
- < pre > < code class ="lang-csharp hljs "> protected virtual SortExpression GetSort(IReadOnlyCollection<QueryExpression> expressionsInScope, ResourceType resourceType)</ code > </ pre >
742
+ < pre > < code class ="lang-csharp hljs "> protected virtual SortExpression? GetSort(IReadOnlyCollection<QueryExpression> expressionsInScope, ResourceType resourceType)</ code > </ pre >
743
743
</ div >
744
744
745
745
< h4 class ="section "> Parameters</ h4 >
@@ -770,7 +770,7 @@ <h4 class="section">Returns</h4>
770
770
771
771
< h3 id ="JsonApiDotNetCore_Queries_QueryLayerComposer_WrapLayerForSecondaryEndpoint__1_JsonApiDotNetCore_Queries_QueryLayer_JsonApiDotNetCore_Configuration_ResourceType___0_JsonApiDotNetCore_Resources_Annotations_RelationshipAttribute_ " data-uid ="JsonApiDotNetCore.Queries.QueryLayerComposer.WrapLayerForSecondaryEndpoint``1(JsonApiDotNetCore.Queries.QueryLayer,JsonApiDotNetCore.Configuration.ResourceType,``0,JsonApiDotNetCore.Resources.Annotations.RelationshipAttribute) ">
772
772
WrapLayerForSecondaryEndpoint<TId>(QueryLayer, ResourceType, TId, RelationshipAttribute)
773
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L329 "> < i class ="bi bi-code-slash "> </ i > </ a >
773
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/QueryLayerComposer.cs/#L362 "> < i class ="bi bi-code-slash "> </ i > </ a >
774
774
</ h3 >
775
775
776
776
< div class ="markdown level1 summary "> < p > Wraps a layer for a secondary endpoint into a primary layer, rewriting top-level includes.</ p >
0 commit comments