3 ms·
Similarly, we built a typed-client for inter-service communication using lambdas at Robocorp. The requests and responses are inferred from the interface (publi
by nip 3y ago
Similarly, we built a typed-client for inter-service communication using lambdas at Robocorp.
The requests and responses are inferred from the interface (published following semver) defined in Zod (including the errors that are following HTTP-like conventions: 401, 409…).
It also includes “hooks” for pre and post processing on the server side (effectively middlewares)