temporalio / temporalio/temporal

SchedulesClientListOptions is missing SearchAttributes param

Open
#5,245 0 comments 0 reactions 1 assignee View on GitHub

@dnr is already working on this.

Since Jan 5, 2024.

enhancement schedules
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.