Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for more than one functionality #4

Open
rasekar2000 opened this issue Nov 24, 2018 · 1 comment
Open

Support for more than one functionality #4

rasekar2000 opened this issue Nov 24, 2018 · 1 comment

Comments

@rasekar2000
Copy link

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

@rasekar2000
Copy link
Author

rasekar2000 commented Nov 25, 2018

Will have to check this SOF Linkexport concept with Google Cloud Function. Seems Firebase Function will work.
https://stackoverflow.com/a/46572787/4987993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant