Files
Yichao YangandGitHub 5d3ae2df99 CHASM: Workflow library (#8554)
## What changed?
- Wire up chasm workflow library

## Why?
- #8485 makes workflow start to use CHASM as well and 
we need to register workflow as a chasm library.

## How did you test it?
- [x] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

## Potential risks
- Logic is only used when chasm feature flag is turned on. The change is
mainly for functional tests.
2025-10-27 16:30:36 -07:00

15 lines
262 B
Go

package workflow
import (
"go.temporal.io/server/chasm"
"go.uber.org/fx"
)
var Module = fx.Module(
"chasm.lib.workflow",
fx.Provide(NewLibrary),
fx.Invoke(func(registry *chasm.Registry, library *Library) error {
return registry.Register(library)
}),
)