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

Move ServiceName to primitives and use everywhere #3695

Merged
merged 3 commits into from
Dec 9, 2022
Merged

Conversation

dnr
Copy link
Member

@dnr dnr commented Dec 7, 2022

What changed?

  • Moves resource.ServiceName into primitives
  • Use in more places

Why?

  • Type safety
  • Can refer to ServiceName from packages that are imported by resource without creating a cycle (to use in another PR)

How did you test it?
CI

Potential risks
I tried to avoid changing anything used by ServerOptions so this shouldn't break anyone importing the server as a library, but the membership interface did change

Is hotfix candidate?

@dnr dnr requested a review from a team as a code owner December 7, 2022 23:12
@dnr dnr enabled auto-merge (squash) December 9, 2022 01:52
@dnr dnr merged commit b47046f into temporalio:master Dec 9, 2022
@dnr dnr deleted the feport1 branch December 9, 2022 04:03
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.

2 participants