Skip to content

WorkerOptions under config has to be all lower case #566

@longquanzheng

Description

@longquanzheng

This is due to a bug in Golang yaml:
go-yaml/yaml#923

As feedback from a community user:
Image

Note: we had a mistake to not adding yaml annotation, but even we added it, it still won't work well because all the fields under WorkerOptions are not annotated either.

So potential solutions:

  1. switch to a different yaml library that can work as expected like the cases in JSON
  2. duplicate the WorkerOptions from Temporal/Cadence SDK and add yaml annotation properly
  3. [less likely] ask temporal/cadence to add yaml annotations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions