jmshal
04/10/2021, 8:28 PMjmshal
04/10/2021, 8:29 PMKevin W - Itty
04/10/2021, 8:29 PMthis.constructor.name
from inside the DO unless i'm mistaken...jmshal
04/10/2021, 8:30 PMKevin W - Itty
04/10/2021, 8:31 PMKevin W - Itty
04/10/2021, 8:32 PMDeno
04/10/2021, 8:35 PMKevin W - Itty
04/10/2021, 8:35 PMDeno
04/10/2021, 8:40 PMluke
04/10/2021, 8:53 PMKevin W - Itty
04/10/2021, 8:58 PMKevin W - Itty
04/10/2021, 8:58 PM{ counter: 0, created: new Date }
Kevin W - Itty
04/10/2021, 8:59 PM{ modified: new Date }
Kevin W - Itty
04/10/2021, 9:00 PMincrement()
would bump the { modified }
prop, and calls to add(a, b)
would not (no change to log)Kevin W - Itty
04/10/2021, 9:20 PMitty-router
) that allows for usage like this in your Worker:Kevin W - Itty
04/10/2021, 9:21 PMKevin W - Itty
04/10/2021, 9:21 PMKevin W - Itty
04/10/2021, 9:23 PMKevin W - Itty
04/10/2021, 9:25 PM.fetch(request)
on the stub manually and adding your own router flow to the durable (powerful for chained request behavior or more elaborate calls)luke
04/10/2021, 11:12 PMluke
04/10/2021, 11:13 PMluke
04/11/2021, 12:03 AM[site]
configuration in wrangler.toml doesn't seem to support upload_format="modules"
luke
04/11/2021, 12:06 AMbucket
option that uploads static assets to KV. I could imagine this being useful even for non-sitesluke
04/11/2021, 12:07 AMKevin W - Itty
04/11/2021, 12:18 AM@cloudflare/wrangler@beta
?Kevin W - Itty
04/11/2021, 12:19 AMKevin W - Itty
04/11/2021, 12:22 AMitty-durable
https://www.npmjs.com/package/itty-durable
This is a pretty tight coupling of itty-router and a durable base class (to extend) to remove nearly all DO boilerplate. Docs are sparse for now, and I apologize, but I'll rapidly move to flesh that out... any questions I'd recommend asking here (if not too lengthy as I already take up too much thread space here ;), on Twitter, or in GitHub issues on the repo itself. Really looking for early feedback on the usage, the interface, etc.mehdiiii
04/11/2021, 1:24 AMluke
04/11/2021, 5:12 AMGreg Brimble | Cloudflare Pages
04/11/2021, 10:48 AM