Skip to content

Compound and collection attributes - #2104

Draft
bkoelman wants to merge 63 commits into
masterfrom
compound-attributes-and-collections
Draft

bkoelman wants to merge 63 commits into
masterfrom
compound-attributes-and-collections

Refactorings to support sparse fieldsets with compound/collection att…

be10f73
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 29, 2026 in 0s

91.24% (-0.91%) compared to cdeb5f9

View this Pull Request on Codecov

91.24% (-0.91%) compared to cdeb5f9

Details

Codecov Report

❌ Patch coverage is 86.17339% with 185 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.24%. Comparing base (cdeb5f9) to head (be10f73).

Files with missing lines Patch % Lines
...lization/Request/Adapters/ResourceObjectAdapter.cs 48.42% 38 Missing and 11 partials ⚠️
...c/JsonApiDotNetCore/Configuration/ResourceGraph.cs 75.00% 15 Missing and 6 partials ⚠️
.../Expressions/SparseFieldSetExpressionExtensions.cs 55.55% 14 Missing and 2 partials ⚠️
...onApiDotNetCore/Queries/SparseFieldSetEvaluator.cs 77.61% 12 Missing and 3 partials ⚠️
.../JsonApiDotNetCore/Queries/Parsing/FilterParser.cs 93.33% 6 Missing and 6 partials ⚠️
...otNetCore/Queries/Parsing/QueryExpressionParser.cs 76.31% 6 Missing and 3 partials ⚠️
src/JsonApiDotNetCore/Queries/FieldSelection.cs 27.27% 7 Missing and 1 partial ⚠️
...ApiDotNetCore/Errors/InvalidModelStateException.cs 36.36% 5 Missing and 2 partials ⚠️
...e/Queries/QueryableBuilding/SelectClauseBuilder.cs 84.21% 3 Missing and 3 partials ⚠️
...tNetCore.Annotations/Configuration/CompoundType.cs 84.84% 4 Missing and 1 partial ⚠️
... and 18 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2104      +/-   ##
==========================================
- Coverage   92.14%   91.24%   -0.91%     
==========================================
  Files         366      375       +9     
  Lines       12125    12906     +781     
  Branches     2038     2286     +248     
==========================================
+ Hits        11173    11776     +603     
- Misses        584      727     +143     
- Partials      368      403      +35     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.