Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support for more than one functionality  #4

@rasekar2000

Description

@rasekar2000

Hello Team,
https://github.com/modofunjs/modofun/blob/master/examples/todo-aws-lambda/index.js

Can I have more than one module
const myModule = require('./myModule');

and export them together to be registered in the serverless framework.

for e.g

const myModule = require('./myModule');
const yourModule = require('./yourModule');

exports.handler = modofun(myModule, yourModule, [ morgan('tiny') ])

If such feature is not available now, is this requirement can be considered for future enhancement.

Thanks and Regards,
Raj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions