Skip to content

Valid parsed workflow cannot be unmarshalled after being marshalled to JSON #110

@obloquy

Description

@obloquy

What happened: I'm working on integrating serverlessworkflow and Temporal and using the current main branch of the serverlessworkflow sdk (b9db1dd). I'm trying to pass a parsed serverlessworkflow to a Temporal workflow. This leads the Temporal SDK to go through a marshal/unmarshal cycle which fails to unmarshal some recent Auth def changes in the serverlessworkflow.

What you expected to happen: I would expect the marshal/unmarshal to work as it did for the serverlessworkflow 2.1.2 release

How to reproduce it: Reproduce with the attached source which doesn't require temporal.
main.go.gz

Anything else we need to know?:

Environment:

  • Specification version used: latest (serverlessworkflow sdk commit b9db1dd)
  • Go version: go version go1.17.11 darwin/amd64

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions