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

fix: switch PullSchemaResponse.deployment_key to optional #3533

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

alecthomas
Copy link
Collaborator

This reflects the fact that builtin modules will not have an associated deployment key.

Also use strongly typed model.DeploymentKey where appropriate.

@alecthomas alecthomas requested a review from a team as a code owner November 26, 2024 11:55
@alecthomas alecthomas requested review from wesbillman and removed request for a team November 26, 2024 11:55
This was referenced Nov 26, 2024
deploymentKey string
uri url.URL
// Set to None under mysterious circumstances...
deploymentKey optional.Option[model.DeploymentKey]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@stuartwdouglas I couldn't quite grok why this was being set to ""

@alecthomas alecthomas added the skip-proto-breaking PRs with this label will skip the breaking proto check label Nov 26, 2024
This reflects the fact that builtin modules will not have an associated
deployment key.

Also use strongly typed model.DeploymentKey where appropriate.
@alecthomas alecthomas enabled auto-merge (squash) November 26, 2024 12:03
@alecthomas alecthomas merged commit 582220f into main Nov 26, 2024
92 of 93 checks passed
@alecthomas alecthomas deleted the aat/optional-deployment-key branch November 26, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-proto-breaking PRs with this label will skip the breaking proto check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant