kingen ✌🏻
kingen ✌🏻
Explore posts from servers
NNovu
Created by kingen ✌🏻 on 10/29/2024 in #πŸ’¬β”‚support
Dashboard and headless stopped loading
No description
15 replies
NNovu
Created by kingen ✌🏻 on 10/1/2024 in #πŸ’¬β”‚support
Error logging into Novu cloud EU
No description
8 replies
PPrisma
Created by kingen ✌🏻 on 7/9/2024 in #help-and-questions
Prisma RLS example makes transactions not possible to use
Hi, The example for how to implement RLS as seen https://www.prisma.io/blog/client-extensions-preview-8t3w27xkrxxn#example-row-level-security
prisma.$extends({
query: {
$allModels: {
async $allOperations({ args, query }) {
const [, result] = await prisma.$transaction([
prisma.$executeRaw`SELECT set_config('app.bypass_rls', 'on', TRUE)`,
query(args),
]);
return result;
},
},
},
})
prisma.$extends({
query: {
$allModels: {
async $allOperations({ args, query }) {
const [, result] = await prisma.$transaction([
prisma.$executeRaw`SELECT set_config('app.bypass_rls', 'on', TRUE)`,
query(args),
]);
return result;
},
},
},
})
If all queries are being wrapped inside a transaction, does that mean I can not use transactions within my application as that would nest transactions? Is it possible to get a reference to an ongoing transaction inside of your extension?
1 replies
NNovu
Created by kingen ✌🏻 on 6/18/2024 in #πŸš€β”‚general
Where to report a broken Novu Cloud API?
Looking at the support channel seeing little action, where should I report a broken API endpoint? https://discord.com/channels/895029566685462578/1252599904107364403/1252599904107364403
4 replies
NNovu
Created by kingen ✌🏻 on 6/18/2024 in #πŸš€β”‚general
Are there any plans for Echo in Novu cloud?
In order to have my workflows defined in code and version control, I should use Echo. If I understand the documentation correctly, I need my own runtime to use Echo and can not rely only on your cloud offering, is this correct? If so, are there any plans on providing this runtime in the Novu cloud? I really don't want to set up another runtime just to be able to define my workflows in code. Maybe I just misunderstood how it works 😬
20 replies