temporal
temporal copied to clipboard
SchedulesClientListOptions is missing SearchAttributes param
Is your feature request related to a problem? Please describe. https://pkg.go.dev/go.temporal.io/[email protected]/internal#ScheduleOptions has a description for the field SearchAttributes: "SearchAttributes - Indexed info that can be used in query of List schedules APIs". But the List API of a https://pkg.go.dev/go.temporal.io/[email protected]/internal#ScheduleClient take https://pkg.go.dev/go.temporal.io/[email protected]/internal#ScheduleListOptions param, which has only PazeSize and no SearchAttributes.
A clear and concise description of what the problem : Either the SearchAttributes field description is incorrect or (what is more likely) it should be one of the parameters in ScheduleListOptions.SearchAttributes field.
Describe the solution you'd like Add ScheduleListOptions and do the filtering based on it in ScheduleClient.List API.
Additional context Am I missing any other List schedules API?