-
@paljs/nexus is using prisma which is marked as dev dependency to inject the select into prisma db queries.
Can it refactored without to avoid using a dev dependency in production
-
I've just used `pal schema camel-case` and I got this error during my next `prisma generate` call:
Is there a way to handle relations properly, in a way that prisma accepts?
-
plugins v4.0.8
genrating crud and inputs with `generateInputsString`.
Given model:
```graphql
model Petition {
id String @id @default(cuid())
user UsersUser? @relation(name: "…
-
I'm trying out Prisma+pal with a database where all tables and columns are written in uppercase snake case e.g. the `AVAILABLE_PRODUCT` table has a `PRODUCT_ID` column and so on.
```
model AVAILABLE…
-
Prisma doesn't currently support [cascading deletes](https://www.prisma.io/docs/guides/database/advanced-database-tasks/cascading-deletes) out of the box. When a user is deleted, their posts should au…
-
v 3.8.3
I generate input file like this:
```
await fs.promises.writeFile(path.join(output, 'inputs.ts'), `import gql from 'graphql-tag'
export default gql\`
${print(sdlInputs({
…
-
I'm trying to figure out if there is a proper way to handle this in a resolver. I have a table (account) that almost every other table refers to. When using the Graphql sandbox you can ask the account…
-
Hi, I tried to use you tool PrismaSelect (which looks so usefull!) but I faced a little issue:
Here is my code:
```javascript
import { PrismaSelect } from '@paljs/plugins';
[...]
const sele…
-
I had PrismaDelete working well, until I introduced a self relation in my schema.
Now even when trying to delete records which don't make use of the self relation, it fails and gives this error:
…
-
schema.prisma
```
model User {
id String @id @default(uuid())
role UserRole? @default(USER)
}
enum UserRole {
SYSADMIN
ADMIN
USER
}
```
after pal g for …