coinbase / coinbase/temporal-ruby
I cannot access `Temporal. get_workflow_history` directly
- Dominant language
- Ruby
- Stars
- 287
- Forks
- 113
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 1
Description
[get_workflow_history](https://github.com/coinbase/temporal-ruby/blob/3fbc675fbe24bce236fba2376910fd5dc9a9ff5f/lib/temporal/client.rb#L400) 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
Contributor guide
Assessment
This issue has not been assessed yet.