You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason it's not saving is because the job has a nil body. The body is populated with a default only when the placeholder is accepted.
However the way we distinguish a placeholder from another job node is by checking for the existence of a name and body...
An intentional side effect of the syncing design is that it's really difficult to tell the difference between the client and server.
@josephjclark maybe I could get your advice here? I'm happy to keep the defaults in the front end (btw we do inject the default adaptor in a sync response fwiw - maybe we move that to the FE as well). I think we need to track the placeholder in the components state rather than derive which node is a placeholder; but this feels like it could be a sticky/tedious rearrange of the createNewWorkflow and identify functions...
I think this catch 22 between having a default body (or any other attrs) from the start will go away if we can decide which node is a placeholder and track that internally.
https://www.loom.com/share/410646fee7404be4b35e9c8a7c61c49a
The text was updated successfully, but these errors were encountered: