mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? - Imports the current CHASM protobufs as a side effect. ## Why? - Enables their use through `tdbg decode`. Other existing protobufs are imported by virtue of explicit imports elsewhere in tdbg. ## How did you test it? - [x] built - [x] run locally and tested manually - [ ] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)
12 lines
453 B
Go
12 lines
453 B
Go
package tdbg
|
|
|
|
// Import chasm lib protobuf packages for side effects (protobuf type registration).
|
|
// This allows tdbg decode to find protobuf types from chasm/lib packages.
|
|
//nolint:revive
|
|
import (
|
|
_ "go.temporal.io/server/chasm/lib/activity/gen/activitypb/v1"
|
|
_ "go.temporal.io/server/chasm/lib/callback/gen/callbackpb/v1"
|
|
_ "go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb/v1"
|
|
_ "go.temporal.io/server/chasm/lib/tests/gen/testspb/v1"
|
|
)
|