Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Cass Fridkin committed Mar 21, 2022
1 parent 3c3003f commit c2aca9d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/tender-planes-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"wrangler": patch
---

Error if the user is trying to implement DO's in a service worker

Durable Objects can only be implemented in Module Workers, so we should throw if we detect that
the user is trying to implement a Durable Object but their worker is in Service Worker format.

0 comments on commit c2aca9d

Please sign in to comment.