Making database connection accessible from entire web app
Depends on D7188
Differential D7189
[web-db] add database module provider Authored by kamil on Mar 27 2023, 1:24 PM.
Details
Making database connection accessible from entire web app Depends on D7188 Check how it behaves in multiple places in web app, try sending some worker messages, e.g.: databaseModule
.schedule({
type: workerRequestMessageTypes.GET_CLIENT_STORE,
})
.then(e => {
console.log(e.store.drafts);
})
.catch(e => {
console.error(e);
});
Diff Detail
Event Timeline
Comment Actions @tomek I changed the logic a bit, so I will not respond directly to your questions but adding inline comments which should cover are your concerns
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||