serverlessworkflow / sdk-typescript

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

v1.0.0-alpha #188

Open JBBianchi opened 4 months ago

JBBianchi commented 4 months ago

Many thanks for submitting your Pull Request :heart:!

What this PR does / why we need it: Support for v1.0.0-alpha (#186)

Special notes for reviewers: Type generation for schema is very unstable, a small change in the spec can have a big impact on the generated types and underlying validators, classes and builders. Classes are empty. It's just a trick to maybe have some kind of runtime type checking (see builders tests).

Additional information (if needed): Currently uses a manually modified version of the spec's JSON Schema. Yield completely different results otherwise.

JBBianchi commented 3 months ago

I think the branch reached a mature enough state for code review.

The README has been updated to match the new API and I added a Tooling Architecture document to describe how the SDK is built.

Any input or help is welcome ❤️ @antmendoza @matthias-pichler @zolero @AtomicJon @ghuntley @SrWildman