4 ms·
Are there any constraints around which functions can be turned into steps? I assume their state (arguments?) need to be serializable? Also, what happens with v
by psadri 2y ago
Are there any constraints around which functions can be turned into steps? I assume their state (arguments?) need to be serializable?
Also, what happens with versioning? What if I want to deploy new code?
- KraftyOne 2y agoYeah, the arguments and return values of steps have to be serializable to JSON. For versioning, each workflow is tagged with the code version that ran it, and we recommend recovering workflows on an executor running the same code version as what the workflow started on. Docs for self hosting: https://docs.dbos.dev/typescript/tutorials/development/self-hosting https://docs.dbos.dev/typescript/tutorials/development/self-.... In our hosted service (DBOS Cloud) this is all done automatically.
- CMCDragonkai 2y agoIf you were to use cbor, you could support binary values more easily.