Skip to content

Commit cf8ede0

Browse files
chore: update .NET SDK version and add configuration files
1 parent 07f69f5 commit cf8ede0

9 files changed

Lines changed: 28 additions & 36 deletions

File tree

.tool-versions

Lines changed: 0 additions & 2 deletions
This file was deleted.

AGENTS.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# CLAUDE.md
2+
3+
## Code Formatting
4+
5+
```bash
6+
dotnet tool restore
7+
dotnet csharpier format .
8+
```
9+
10+
## Debugging
11+
12+
Set `"JsonApiToolkit": "Debug"` in appsettings.json to enable detailed query processing logs.
13+
14+
## Non-Obvious Behaviors
15+
16+
- **JSON column detection**: Collections and complex objects without an `Id` property are mapped as JSON attributes, not relationships. This handles EF Core owned entities stored as JSON columns.
17+
- **Pagination clamping**: Invalid page numbers are silently clamped (negative/zero -> page 1, overflow -> last page).
18+
- **Malformed query params**: Bad filter/sort/include syntax is logged and skipped, not thrown as exceptions.
19+
- **Filtered includes**: Dot notation in filters (e.g. `filter[author.name]=John`) applies to included resources when `include=author` is also set.
20+
- **Include whitelisting**: `AllowedIncludesAttribute` on controller actions restricts which relationships can be requested via `include=`, preventing unauthorized data exposure.
21+
- **Sparse fieldsets**: `fields[type]=field1,field2` works for both primary and included resources. `id` and `type` are always returned.

CLAUDE.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/contributing.md

JsonApiToolkit/packages.lock.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -413,18 +413,6 @@
413413
"resolved": "4.7.0",
414414
"contentHash": "ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ=="
415415
}
416-
},
417-
"net10.0/linux-musl-x64": {
418-
"System.Security.Cryptography.Pkcs": {
419-
"type": "Transitive",
420-
"resolved": "10.0.0",
421-
"contentHash": "UPWqLSygJlFerRi9XNIuM0a1VC8gHUIufyP24xQ0sc+XimqUAEcjpOz9DhKpyDjH+5B/wO3RpC0KpkEeDj/ddg=="
422-
},
423-
"System.Security.Cryptography.ProtectedData": {
424-
"type": "Transitive",
425-
"resolved": "4.7.0",
426-
"contentHash": "ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ=="
427-
}
428416
}
429417
}
430418
}

docs/.pages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ nav:
1515
- integrations
1616
- api
1717
- contributing.md
18+
- changelog.md

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../CHANGELOG.md

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "10.0.100",
3+
"version": "10.0.201",
44
"rollForward": "latestPatch"
55
}
66
}

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
dotnet = "10.0.201"

0 commit comments

Comments
 (0)