serverlessworkflow / sdk-typescript

Typescript SDK for Serverless Workflow
https://serverlessworkflow.io/
Apache License 2.0
64 stars 16 forks source link

Disclaimer in the README for object literal methodology #106

Closed JBBianchi closed 3 years ago

JBBianchi commented 3 years ago

What would you like to be added: Add a warning in (or completly remove?) the object literals section about validation and default values.

Why is this needed: if the developper using the SDK decides to go with the object literals approach, he might face valid objects that don't define default/const values enforced by builders (e.g. #104)

antmendoza commented 3 years ago

+1 my preference is to remove it completely