Skip to content

[Durable Objects] Type the SQL greeting query result - #34423

Merged
irvinebroque merged 2 commits into
cloudflare:productionfrom
phocks:patch-1
Oct 18, 2026
Merged

irvinebroque merged 2 commits into
cloudflare:productionfrom
phocks:patch-1

Conversation

@phocks

@phocks phocks commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Minor docs edit. Accept or don't, but it will probably come up again if others are using TypeScript to follow this tute.

@github-actions github-actions Bot added the product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ label Oct 17, 2026
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed 39ee9fa · 0 findings · incremental

Resolved (1) · Dismissed (0)
  • Resolved: Title does not identify the affected product or content area · The PR title has been updated to "[Durable Objects] Type the SQL greeting query result", which now identifies the affected product (Durable Objects) and content area. The conventions rule on title identification is no longer violated.
Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@irvinebroque irvinebroque changed the title Type this so TypeScript doesn't complain about null [Durable Objects] Type the SQL greeting query result Oct 18, 2026

@irvinebroque irvinebroque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verified workerd SqlStorage.exec() and SqlStorageCursor.one(): the explicit greeting:string row type matches this SELECT string literal and makes sayHello return a string. After updating from production, the one-line change is identical to the reviewed diff.

@irvinebroque
irvinebroque added this pull request to the merge queue Oct 18, 2026
Merged via the queue into cloudflare:production with commit 5f4045e Oct 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants