Commit e8c146c
Bart Koelman
TODO: Replace squashed changes from #1142 with rebase on master after merge
Removed existing resource inheritance tests
Resource inheritance: return derived types
Resource inheritance: sparse fieldsets
Changed the expression tokenizer to recognize dots in field chains
Resource inheritance: derived includes
Resource inheritance: derived filters
Added ResourceFieldAttribute.Type and use it from QueryExpression.ToFullString() to provide improved debug info
Resource inheritance: sorting on derived fields
Added missing tests for GET abstract/concrete base primary types at secondary/relationship endpoints
Resource graph validation: fail if field from base type does not exist on derived type
Clarified error message on type mismatch in request body
Rename inheritance tests
Added extension method to obtain ClrType of a resource instance (we'll need this later)
Resource inheritance: write endpoints
Updated documentation
Added rewriter unit tests to improve code coverage
Exclude example project from code coverage1 parent 978a311 commit e8c146c
File tree
188 files changed
+10174
-1390
lines changed- benchmarks/Serialization
- docs/usage
- reading
- resources
- src
- Examples/JsonApiDotNetCoreExample
- JsonApiDotNetCore.Annotations
- Configuration
- Resources/Annotations
- JsonApiDotNetCore
- AtomicOperations
- Configuration
- Controllers
- Queries
- Expressions
- Internal
- Parsing
- QueryableBuilding
- QueryStrings/Internal
- Repositories
- Resources
- Serialization
- Request/Adapters
- Response
- Services
- test
- JsonApiDotNetCoreTests
- IntegrationTests
- AtomicOperations
- Creating
- Transactions
- Updating
- Relationships
- Resources
- CompositeKeys
- EagerLoading
- Microservices
- FireAndForgetDelivery
- TransactionalOutboxPattern
- QueryStrings
- Includes
- ReadWrite
- Creating
- Updating
- Relationships
- Resources
- ResourceInheritance
- ChangeTracking
- Models
- TablePerHierarchy
- TablePerType
- UnitTests
- Links
- Queries
- QueryStringParameters
- ResourceDefinitions
- ResourceGraph
- Serialization/Response
- TestBuildingBlocks
- UnitTests/Extensions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
188 files changed
+10174
-1390
lines changedLines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
135 | 143 | | |
136 | 144 | | |
137 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
89 | 115 | | |
90 | 116 | | |
91 | 117 | | |
| |||
0 commit comments