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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: version metadata message property #1983

Open
DaniFoldi opened this issue Apr 7, 2024 · 0 comments
Open

Feature Request: version metadata message property #1983

DaniFoldi opened this issue Apr 7, 2024 · 0 comments

Comments

@DaniFoldi
Copy link
Contributor

Hi 馃憢,

The workers logpush dataset contains a new scriptVersion object with three properties: id, message and tag (ref: https://developers.cloudflare.com/workers/configuration/versions-and-deployments/gradual-deployments/#logpush).

The binding however only contains id and tag. Is that an intentional choice, or could we get message added to it as well?
Ref https://workers-types.pages.dev/#WorkerVersionMetadata from

export type WorkerVersionMetadata = {
/** The ID of the Worker Version using this binding */
id: string;
/** The tag of the Worker Version using this binding */
tag: string;
}

In my testing, it appears that message is indeed missing from the binding: https://version-metadata-binding.danifoldi.workers.dev/, so it's not just a missing type declaration

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

No branches or pull requests

1 participant