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

Switch back to id for Workflows binding #2975

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

sidharthachatterjee
Copy link
Collaborator

No description provided.

@@ -35,9 +28,9 @@ declare abstract class Workflow {

interface WorkflowInstanceCreateOptions {
/**
* A name for your Workflow instance. Must be unique within the Workflow.
* An id for your Workflow instance. Must be unique within the Workflow.
Copy link
Member

Choose a reason for hiding this comment

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

It'd be nice to mention that if an ID isn't specified, a unique ID will be generated for you. It looks like you already did that in the file above (src/cloudflare/internal/workflows.d.ts), just missed it here.

But this is fine to merge either way 👍

@sidharthachatterjee sidharthachatterjee merged commit 26a707b into main Oct 22, 2024
13 checks passed
@sidharthachatterjee sidharthachatterjee deleted the sidharthachatterjee/create-get-id branch October 22, 2024 17:16
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