Migration from version 1.x
This chapter provides a set of guidelines to help you migrate from Marble.js version 1.x to version 2.x.
@marblejs/core
Type declarations
Effects - body, params, query
const example$: Effect = (req$) =>
req$.pipe(
map(req => req.params.version), // (typeof req.params) = any
map(version => `Version: ${version}`), // (typeof version) = any
map(message => ({ body: message })),
);Effects - third argument
httpListener error effect
httpListener server bootstrapping
@marblejs/middleware-body
@marblejs/middleware-logger
Last updated