Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ public interface IRepositoryClient
```

A source generator emits the implementation at compile time — no reflection, no proxy types,
trimming- and AOT-safe. Mistakes are build errors rather than 3am production errors: eighteen
diagnostics cover a `{placeholder}` with no matching parameter, two `[Body]` parameters, an
unbindable parameter, a synchronous return type, a non-absolute `[BaseAddress]`, and more — each
with a location and a sentence saying what to do.
trimming- and AOT-safe. Mistakes are build errors rather than 3am production errors: a
`{placeholder}` with no matching parameter, two `[Body]` parameters, an unbindable parameter, a
synchronous return type, a non-absolute `[BaseAddress]`, a query type that cannot be sent, a
response type missing from your JSON context — each with a location and a sentence saying what to
do. The full set is in [docs/diagnostics.md](docs/diagnostics.md).

A parameter with no attribute binds to a path placeholder of the same name. Anything else is an
error, because guessing that an unbound parameter "must be a query parameter" is how a secret ends
Expand Down
Loading