claudiajs / claudia

Deploy Node.js projects to AWS Lambda and API Gateway easily
https://claudiajs.com
MIT License
3.8k stars 276 forks source link

Allow specifying --deploy-proxy-api-type when creating a proxy api #165

Closed ryan-mahoney closed 6 years ago

ryan-mahoney commented 6 years ago

Please use GitHub issues only to report bugs. To ask a general question or request assistance/support, please use the Claudia.js Gitter Chat instead.

To report a bug or a problem, please fill in the sections below. The more you provide, the better we'll be able to help.


gojko commented 6 years ago

would you like to submit a patch for this?

ryan-mahoney commented 6 years ago

I'll give it a try :)

gojko commented 6 years ago

great. the change is most likely going to be here:

https://github.com/claudiajs/claudia/blob/387e4dd3eb0bb70ee80bad1d00a79ce98749cd5b/src/commands/create.js#L201

You can use the local options variable to check command line options, I guess something like --api-type would work. Please also add a test to prove the new feature to create-spec.js, and information about the new parameter here, as the documentation is automatically built from it https://github.com/claudiajs/claudia/blob/387e4dd3eb0bb70ee80bad1d00a79ce98749cd5b/src/commands/create.js#L411

gojko commented 6 years ago

I'm closing this due to a week of inactivity. If anyone would like to pick up this later and submit a PR, please reopen it.

ryan-mahoney commented 6 years ago

@gojko I'll definitely pick this up eventually if no one else beats me to it. I need this functionality, but it's not super urgent at the moment. Sorry for delay!