Skip to content

[DO] Ensuring DO constructors call super if extends from DurableObject - #24956

Merged
Oxyjun merged 2 commits into
productionfrom
jun/do/code-super-if-extends
Sep 5, 2025
Merged

[DO] Ensuring DO constructors call super if extends from DurableObject#24956
Oxyjun merged 2 commits into
productionfrom
jun/do/code-super-if-extends

Conversation

@Oxyjun

@Oxyjun Oxyjun commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

Summary

  1. Identified 4 instances where we extend DurableObject and has a constructor, but wasn't using super().
  2. Added in super(), and removed redundant lines, if any.

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@Oxyjun
Oxyjun marked this pull request as ready for review September 5, 2025 09:31
@Oxyjun
Oxyjun requested a review from a team September 5, 2025 09:31
@github-actions github-actions Bot added the product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ label Sep 5, 2025
@github-actions github-actions Bot added the size/s label Sep 5, 2025
@github-actions

github-actions Bot commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/durable-objects/ @elithrar, @vy-ton, @joshthoward, @oxyjun, @harshil1712, @mikenomitch, @cloudflare/pcx-technical-writing, @cloudflare/workers-runtime-1

@Oxyjun
Oxyjun merged commit 2f1a370 into production Sep 5, 2025
11 checks passed
@Oxyjun
Oxyjun deleted the jun/do/code-super-if-extends branch September 5, 2025 09:47
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/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants