Skip to content

Commit

Permalink
In Connect for Node.js / Implementing services, add note about Connec…
Browse files Browse the repository at this point in the history
…tRouter.service adding unimplemented fallbacks (#186)

See connectrpc/connect-es#1145

Signed-off-by: Timo Stamm <[email protected]>
Signed-off-by: Steve Ayers <[email protected]>
  • Loading branch information
timostamm authored and smaye81 committed Sep 30, 2024
1 parent fa5e17b commit bba9162
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/node/implementing-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,5 @@ export default (router: ConnectRouter) => {
}
```

Note that `ConnectRouter.service` allows you to omit methods. The router will automatically add a method that responds
with an error code `unimplemented`.

0 comments on commit bba9162

Please sign in to comment.