hatchet-dev / hatchet-typescript

Hatchet Typescript SDK for Interacting with the Hatchet Engine
9 stars 2 forks source link

fix: no return from step should be handled #174

Closed abelanger5 closed 4 weeks ago

abelanger5 commented 1 month ago

If a step returns nothing, it gets interpreted as an empty string and sent to the engine, which the engine doesn't support. This PR casts falsy values to null - we might have to change this once we support returning arbitrary data, like 0 cases.