Commit 19f6557
Bart Koelman
Update to .NET 6 with EF Core 6 (#1122)
* Update to .NET 6 with EF Core 6
* Adapt to changes in nullability annotations
* Adapt for breaking changes in PostgreSQL provider for EF Core 6
* Cleanup tests for handling special characters
* Removed workaround for dotnet/efcore#21026
* Removed workaround for dotnet/aspnetcore#33394
* Removed workaround for dotnet/aspnetcore#32097
* Removed workaround for dotnet/efcore#21234
* Updated to latest Resharper version and removed workarounds for earlier versions
* Applied new Resharper suggestions
* Package updates
* Renamed MSBuild variables
* Inlined MSBuild variables that are used only once
* Removed .BeCloseTo, now that fakers truncate time to whole milliseconds. Removed runtime casts, because the JSON deserializer now creates the correct types (based on the resource graph).
* Narrow service scope lifetime
* Enable registered services to dispose asynchronously, where possible
* Workaround for bug in cleanupcode
* Fixed detection of implicit many-to-many join entity in EF Core 6
* Activate implicit usings
* Switched to file-scoped namespaces
* Reformat solution
* Added [NoResource] to suppress startup warning
* Use Minimal Hosting APIs
* Removed duplicate code
* Corrected terminology for generic type usage
* Fixed warning: Type 'KnownResource' does not contain any attributes
* Updated roadmap and version table
* Fixed: Override IIdentifiable.Id with custom capabilities no longer worked
* Review feedback1 parent 9c9a4f2 commit 19f6557
File tree
865 files changed
+65110
-67472
lines changed- .config
- benchmarks
- Deserialization
- QueryString
- Serialization
- docs
- getting-started
- usage
- extensibility
- writing
- src
- Examples
- GettingStarted
- Data
- Models
- JsonApiDotNetCoreExample
- Controllers
- Data
- Definitions
- Models
- MultiDbContextExample
- Data
- Models
- Properties
- Repositories
- NoEntityFrameworkExample
- Data
- Models
- Properties
- Services
- ReportsExample
- Models
- Services
- JsonApiDotNetCore.SourceGenerators
- JsonApiDotNetCore
- AtomicOperations
- Processors
- Configuration
- Controllers
- Annotations
- Diagnostics
- Errors
- Middleware
- Queries
- Expressions
- Internal
- Parsing
- QueryableBuilding
- QueryStrings
- Internal
- Repositories
- Resources
- Annotations
- Internal
- Serialization
- JsonConverters
- Objects
- Request
- Adapters
- Response
- Services
- test
- DiscoveryTests
- JsonApiDotNetCoreTests
- IntegrationTests
- Archiving
- AtomicOperations
- Controllers
- Creating
- Deleting
- Links
- LocalIds
- Meta
- Mixed
- ModelStateValidation
- QueryStrings
- ResourceDefinitions
- Serialization
- SparseFieldSets
- Transactions
- Updating
- Relationships
- Resources
- CompositeKeys
- ContentNegotiation
- ControllerActionResults
- CustomRoutes
- EagerLoading
- ExceptionHandling
- HostingInIIS
- IdObfuscation
- InputValidation
- ModelState
- RequestBody
- Links
- Logging
- Meta
- Microservices
- FireAndForgetDelivery
- Messages
- TransactionalOutboxPattern
- MultiTenancy
- NamingConventions
- NonJsonApiControllers
- QueryStrings
- Filtering
- Includes
- Pagination
- Sorting
- SparseFieldSets
- ReadWrite
- Creating
- Deleting
- Fetching
- Updating
- Relationships
- Resources
- RequiredRelationships
- ResourceConstructorInjection
- ResourceDefinitions
- Reading
- Serialization
- ResourceInheritance
- RestrictedControllers
- Serialization
- SoftDeletion
- ZeroKeys
- Startups
- UnitTests
- Configuration
- Links
- ModelStateValidation
- QueryStringParameters
- ResourceGraph
- Serialization
- Response
- Models
- MultiDbContextTests
- NoEntityFrameworkTests
- SourceGeneratorDebugger
- Controllers
- JsonApiDotNetCore
- Models
- SourceGeneratorTests
- TestBuildingBlocks
- UnitTests
- Extensions
- Graph
- Internal
- Middleware
- Models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
865 files changed
+65110
-67472
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
73 | 68 | | |
74 | 69 | | |
75 | 70 | | |
76 | 71 | | |
77 | 72 | | |
78 | 73 | | |
79 | 74 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
90 | 83 | | |
91 | 84 | | |
92 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments