I’m trying to programmatically create schedules using the Golang SDK. No problem creating a schedule in the “default” namespace, but I couldn’t figure out how to create a schedule in another namespace. There doesn’t seem to be any option to specify the namespace in the ScheduleOptions struct (see: sdk-go/internal/schedule_client.go at master · temporalio/sdk-go · GitHub)
When using the schedule service, the namespace isn’t configurable and it’s using the client Namespace as you mentioned.
When using the workflow service, the namespace seems to be configurable.
I was using the workflow client for the read/delete/update operations, but the schedule client for the create one. Hence my confusion.
Why are there two ways to interact with schedules?