Closed diogob closed 6 months ago
A - simplified - use case I had for such helper:
const getUser = composable(({ id }: { id: string }) => ({ id, name: 'John' })) const getCurrentUser = mapParameters(getUser, (_i, env: { userId: string }) => [{ id: env.userId }])
A - simplified - use case I had for such helper: