mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed Replaced one `WithFxOptionsForService` with fault injection. ## Why We want to eliminate `WithFxOptionsForService` as it is blocking us from migrating away from the `onebox.go` approach (which duplicates the fx setup) since we don't want to expose an equivalent method in `temporal/fx.go`.
8 lines
117 B
Go
8 lines
117 B
Go
package faultinjection
|
|
|
|
type (
|
|
faultGenerator interface {
|
|
generate(methodName string, request ...any) *fault
|
|
}
|
|
)
|