You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update CLAUDE.md: fix drift and add cross-link to agents.md
- List missing test/benchmark projects in Repository Layout
- Correct IAuthenticator signature (async with CancellationToken)
- Link to agents.md for deep-dive developer reference
- Add find one-liner for inspecting generated source files
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
4
5
+
For deep-dive details (build props hierarchy, source-generator internals, CI matrix, MinVer/packaging, troubleshooting), see [`agents.md`](agents.md) — it's the long-form developer reference.
6
+
5
7
## Build & Test Commands
6
8
7
9
```bash
@@ -38,6 +40,10 @@ RestSharp is a lightweight HTTP API client library for .NET that wraps `HttpClie
@@ -62,14 +68,15 @@ Abstract `Parameter` record base with concrete types: `HeaderParameter`, `QueryP
62
68
63
69
### Authentication (`Authenticators/`)
64
70
65
-
`IAuthenticator` with single `Authenticate(IRestClient, RestRequest)` method. Built-in: `HttpBasicAuthenticator`, `JwtAuthenticator`, OAuth1/OAuth2 authenticators. Set via `RestClientOptions.Authenticator`.
71
+
`IAuthenticator` with single async method `ValueTask Authenticate(IRestClient, RestRequest, CancellationToken)`. Built-in: `HttpBasicAuthenticator`, `JwtAuthenticator`, OAuth1/OAuth2 authenticators. Set via `RestClientOptions.Authenticator`.
66
72
67
73
### Source Generators (`gen/SourceGenerator/`)
68
74
69
75
-`[GenerateImmutable]` — Creates read-only wrapper (used on `RestClientOptions`)
70
76
-`[GenerateClone]` — Creates static factory clone methods (used on `RestResponse<T>`)
71
77
-`[Exclude]` — Excludes properties from immutable generation
72
78
- Generator target must be `netstandard2.0`. Inspect output in `obj/<Config>/<TFM>/generated/SourceGenerator/`.
0 commit comments