Skip to content

:use_error_serialization_v2 config option isn't respected when using a custom Temporal::Configuration #295

@davehughes

Description

@davehughes

This was causing me some confusion and I tracked it down to this line, which uses the global singleton Temporal.configuration rather than the specific configuration that was used to create the connection.

I'm working on a PR to fix that:

  1. adds use_error_serialization_v2 to the set of options respected by Temporal::Connection::GRPC.
  2. plumbs this value through from Temporal::Configuration#for_connection which is used when actually creating the connection object in Temporal::Client#connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions