Skip to content

Commit 21afc36

Browse files
committed
A tweak
1 parent 48207cc commit 21afc36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/encyclopedia/nexus/nexus-client-code-generator.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ That client library contains three things:
3535
- **A runtime validator.** One validator per type, applied when a value is parsed off the wire and again when it is serialized onto it. See [Validation guarantees](#validation-guarantees) for more.
3636
- **A [Nexus Service Contract](/glossary#nexus-service-contract) definition**, for a file that declares Services. These are the Service and Operation declarations you register on a Worker and call from a caller Workflow. A pure JSON Schema file declares none, so it produces only the models and their validators.
3737

38-
Constraint failures are aggregated into a single native error listing every violation, each naming the offending field and the bound it broke.
38+
Additionally, constraint failures are aggregated into a single native error listing every violation, each naming the offending field and the bound it broke.
3939
A handler maps that error to a `BAD_REQUEST` [Nexus error](/nexus/error-handling), so a malformed request tells the caller everything that was wrong with it in one response.
4040

4141
The supported schema subset is deliberately strict.

0 commit comments

Comments
 (0)