Skip to content

Conversation

@Sushisource
Copy link
Member

What was changed

Added ability to update the SAs for schedules
Also updated Core, largely to eliminate some compiler warnings from new Rust version

Why?

Parity

Checklist

  1. Closes [Feature Request] Support schedule search attribute update #314

  2. How was this tested:
    Added tests

  3. Any docs updates needed?

@Sushisource
Copy link
Member Author

I looked at the Go impl while doing this and I think the language here needs to be changed: https://github.com/temporalio/sdk-go/pull/1562/files#diff-03e17ff1d7fdefff7ba8a41ea26b6f3a3135e4b084e58cef60574e60bfd9a9f2R493

It is distinctly not an upsert operation. It is straight-up replacement. An upsert would preserve unchanged attributes if they are not included in the new collection, but they are wiped out unless you manually copy the existing attributes.

}

#[repr(C)]
pub struct ForwardedLogDetails {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was unused

@Quinn-With-Two-Ns
Copy link

Yeah would be in favor of fixing the Go SDK docs as well

@Sushisource Sushisource merged commit ac9c891 into main Aug 5, 2024
@Sushisource Sushisource deleted the sched-update-sas branch August 5, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support schedule search attribute update

4 participants