Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update interfaces and structs for admin use #2533

Merged
merged 2 commits into from
Feb 23, 2022
Merged

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Feb 23, 2022

What changed?
Update interfaces and structs for admin use

Why?
Expose those interfaces and structs for future admin use

How did you test it?
No logic changed

Potential risks

Is hotfix candidate?

@yux0 yux0 requested a review from a team as a code owner February 23, 2022 05:31
@yux0 yux0 requested review from yiminc and yycptt February 23, 2022 05:31
common/persistence/serialization/serializer.go Outdated Show resolved Hide resolved
common/persistence/serialization/serializer.go Outdated Show resolved Hide resolved
common/persistence/serialization/serializer.go Outdated Show resolved Hide resolved
}

func newTimerKey(time time.Time, taskID int64) *timerKey {
func NewTimerKey(time time.Time, taskID int64) *timerKey {
Copy link
Member

Choose a reason for hiding this comment

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

Shall we deprecate the TimerKey and use tasks.Key instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Good to know. I will update this.

@yux0 yux0 merged commit c479ea3 into temporalio:master Feb 23, 2022
@yux0 yux0 deleted the update-access branch February 23, 2022 17:01
yux0 added a commit that referenced this pull request Feb 23, 2022
* Update interface and struct for admin use
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.

3 participants