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
Copy file name to clipboardExpand all lines: docs/encyclopedia/nexus/nexus-client-code-generator.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ That client library contains three things:
35
35
-**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.
36
36
-**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.
37
37
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.
39
39
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.
40
40
41
41
The supported schema subset is deliberately strict.
0 commit comments