coinbase / temporal-ruby

Ruby SDK for Temporal
Apache License 2.0
238 stars 89 forks source link

NameError: undefined local variable or method `filter` for <Temporal::Client:0x000000010bca6f00>> #249

Closed rhashim02-tc closed 1 year ago

rhashim02-tc commented 1 year ago

In the Temporal client code, the query_workflow_executions method uses a local variable named filter within the method body but does not accept it as a parameter, causing a NameError to be raised.

The full error message is the following:

"error":"#<NameError: undefined local variable or method `filter' for #<Temporal::Client:0x000000010bca6f00>>"

This method was introduced in #177.

rhashim02-tc commented 1 year ago

See PR here for a quick fix -> https://github.com/coinbase/temporal-ruby/pull/250