Leaving the name empty is a frequent source of bugs and errors, since I use lambda functions, and forget to add the name field. e.g.
pure.join(scope, cloud.stack(() => ({})))
Would it be possible to create an invariant to check the name field? And even better would be if I can skip the empty lambda altogether:
pure.join(scope, cloud.stack('MyStack'))
It would remove a lot of boilerplate.
Leaving the name empty is a frequent source of bugs and errors, since I use lambda functions, and forget to add the name field. e.g.
Would it be possible to create an invariant to check the name field? And even better would be if I can skip the empty lambda altogether:
It would remove a lot of boilerplate.