Suman Iwaram
Suman Iwaram
well I upgraded the project to v4 but here are the changes and errors: - persist/remove(entity, true) -> persist/remove(entity).flush(). [fixed] - Property 'createQueryBuilder' does not exist on type 'EntityRepository'. [couldn't...
Sorry for the late reply, I was stuck on the declare global for solid till now and when I refreshed saw the context one and I like the context one...
Do we not get type definiton by doing this: author.repository.ts ```ts export class CustomAuthorRepository extends EntityRepository { // your custom methods... public findAndUpdate(...) { // ... } } ``` author.entity.ts...
i will update my repo of the working code and will leave it there for any future references. Anyone getting the same issue can look up the code. Edit: Here's...
Hey @B4nan , can u look at the [repo](https://github.com/asmimo/mikro-orm-graphql) i updated the repo to use alpha 12 for #698 but all the query fails. 1. Open `localhost:3010/graphql` 2. Copy and...
Thanks man. You are awesome.
If you use **getRawOne/Many**, you don't need to have one entity class per schema. If you use raw then it wont throw metadata error even if you dont create seperate...
@felixhayashi , according to my knowledge this only works when u have created a seperate entity classes for each schema otherwise you get a metadata error. this is what happened...
I found out couple of things. 1) If prisma and `typegraphql-prisma` output is generated outside of `node_modules`, the generated code will point to the right prisma client. 2) About all...
No, Prisma doesn't support multiple schemas/databases but there is a workaround for that mentioned in this issue's [comment](https://github.com/prisma/prisma/issues/2443#issuecomment-630679118). I am using the second workaround like this. ```prisma // prisma/one/schema.prisma generator...