Erwin
08/16/2021, 6:16 AMmikeysee
08/16/2021, 12:20 PMID is not for this Durable Object class.
mikeysee
08/16/2021, 12:20 PMts
const stub = env.UsersProjection.get(env.EventStore.idFromName(`a`));
console.log(`querying projection`, {
projection,
query,
});
const response = await stub
.fetch(`query`, {
method: "POST",
body: JSON.stringify(query),
})
.then(r => r.json());
console.log(`projection query response`, response);
mikeysee
08/16/2021, 12:20 PMmikeysee
08/16/2021, 12:20 PMmikeysee
08/16/2021, 12:21 PMmikeysee
08/16/2021, 12:32 PMalbert
08/16/2021, 12:47 PM/ and +
with - and _
to make it URL-friendly.albert
08/16/2021, 12:50 PMidFromName()
and just use the name in the URLmikeysee
08/16/2021, 12:56 PMalbert
08/16/2021, 12:57 PMmikeysee
08/16/2021, 12:57 PMmikeysee
08/16/2021, 12:57 PMmikeysee
08/16/2021, 12:58 PMmikeysee
08/16/2021, 12:59 PMmikeysee
08/16/2021, 12:59 PMalbert
08/16/2021, 1:00 PMmikeysee
08/16/2021, 1:00 PMalbert
08/16/2021, 1:00 PMalbert
08/16/2021, 1:01 PMalbert
08/16/2021, 1:01 PMWallacy
08/16/2021, 4:07 PMWallacy
08/16/2021, 4:11 PMWallacy
08/16/2021, 4:12 PMbrett
08/16/2021, 4:13 PMbrett
08/16/2021, 4:13 PMWallacy
08/16/2021, 4:15 PMgzalo
08/16/2021, 10:18 PMErwin
08/16/2021, 11:02 PMErwin
08/16/2021, 11:02 PM