serverless / compose

Orchestrate Serverless Framework in monorepos
https://serverless.com/framework/docs/guides/compose
MIT License
111 stars 15 forks source link

Remove `default()` #1

Closed mnapoli closed 2 years ago

mnapoli commented 2 years ago

How about removing these from components entirely:

    async default(inputs = {}) {
        return this.deploy(inputs);
    }

The idea of having default behavior on serverless is interesting but:

pgrzesik commented 2 years ago

👍 From me on this one. I prefer being explicit with the commands and I don't see much value in supporting this approach.