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

Add endpoints to namespace resource #89

Merged

Conversation

ennyjfrick
Copy link
Contributor

What was changed

This PR adds the endpoints upstream proto model to namespace resource, providing computed web and gRPC addresses.

Why?

Currently, if you want to provide the gRPC endpoint from a namespace resource, you need to do string formatting, which is error prone and not future-proof. Directly providing the endpoints creates a better user experience and ensures that if the Temporal Cloud address ever changes, the endpoints will be correct.

@ennyjfrick ennyjfrick requested a review from a team as a code owner April 15, 2024 23:25
Copy link
Collaborator

@swgillespie swgillespie left a comment

Choose a reason for hiding this comment

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

thank you!

@swgillespie swgillespie merged commit bf65aed into temporalio:main Apr 18, 2024
4 of 5 checks passed
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