MoralisWeb3 / issue-tracker

25 stars 7 forks source link

TypeScript + External Libraries Support in Cloud Functions #92

Open aecorredor opened 3 years ago

aecorredor commented 3 years ago

It’d be great that cloud functions could support using external npm libraries, and that the bundling process would be abstracted.

It would also be great if TypeScript was supported out of the box in that process. It seems like it might not be too far fetched since there’s already a CLI tool that watches for changes.

It would also be great that the CLI could provide a method for imperatively updating cloud functions, so it could be run in CI/CD after running a set of tests, for example.

aecorredor commented 3 years ago

Just realized that webhooks are probably the answer to this: https://docs.moralis.io/moralis-server/cloud-code/webhooks.

It would probably still be nice to at least get TS + CI/CD support natively.