temporalio / temporalio/temporal
SchedulesClientListOptions is missing SearchAttributes param
@dnr is already working on this.
Since Jan 5, 2024.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
https://pkg.go.dev/go.temporal.io/sdk@v1.25.1/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/sdk@v1.25.1/internal#ScheduleClient take https://pkg.go.dev/go.temporal.io/sdk@v1.25.1/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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.