temporalio / cli

Command-line interface for running Temporal Server and interacting with Workflows, Activities, Namespaces, and other parts of Temporal
https://docs.temporal.io/cli
MIT License
241 stars 32 forks source link

Don't depend on server internals #585

Open josh-berry opened 1 month ago

josh-berry commented 1 month ago

As part of #584, I discovered we depend on some non-public Server APIs for dealing with task queues. We should not do this, since these APIs might change at a moment's notice.

We should scrub the codebase to remove any dependencies on Server internals.

cretz commented 1 month ago

We should scrub the codebase to remove any dependencies on Server internals.

To clarify, remove any import of go.temporal.io/server anywhere but the devserver package (maybe)