DurableObjectStub is missing all methods
Hey,
I'm having a little issue. I'm trying my hand at Durable Objects for the first time and I've got some trouble getting them to work.
I have this code in my
index.ts
:
And this in my durableObject.ts
:
Yet somehow my countQuery keeps being returned as undefined. Am I overlooking something?
I'm basically following this: https://developers.cloudflare.com/durable-objects/examples/build-a-counter/Cloudflare Docs
Build a counter · Cloudflare Durable Objects docs
This example shows how to build a counter using Durable Objects and Workers with RPC methods that can print, increment, and decrement a name provided …
3 Replies
main.ts
via export {EpisodeStorage} from './durableObject';
so I, being a bit of a dumbass, did manage to read my logs in the web console... but i decided to ignore the big yellow warning
so yeah, the Yoga GraphQL comes with an older compat date... who knew