Skip to content

I cannot access Temporal. get_workflow_history directly #301

@michellewkong

Description

@michellewkong

get_workflow_history can only be accessed by instantiating a specific client such as

client = Temporal::Client.new(config)
result = client.get_workflow_history(namespace: 'ruby-samples', workflow_id: 'user-123', run_id: 'uuid-123')

Since I am configuring Temporal for my entire app in a single place, it would be much easier to access this similar to the way we can also access other client methods such as

Temporal.get_workflow_history(namespace: 'ruby-samples', workflow_id: 'user-123', run_id: 'uuid-123')

This seems like it would be resolved by adding get_workflow_history here https://github.com/coinbase/temporal-ruby/blob/master/lib/temporal.rb#L17

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