Closed
Description
Goals
- Be idiomatic for Node.js developers. Users should be able to look at the code and immediately know what's going on
- Let users define their own file structure (related to Allow discovery of functions in nested directories azure-functions-host#5373)
- Let users define function metadata in js/ts files instead of json
- Take advantage of types as much as possible, including for JavaScript users (i.e. VS Code can provide Intellisense for JavaScript based on the TypeScript types as long as it can find them)
- Model after an existing popular/modern framework (Fastify, Express, Firebase, Remix, etc.), but ideally be flexible enough to allow for other frameworks to be used
Plan of action
Moved to here: https://github.com/Azure/azure-functions-nodejs-worker/wiki/Roadmap#new-programming-model
Prototypes
See this repo for the example prototype: https://github.com/ejizba/func-nodejs-prototype