DavidHancu/prisma-util

I got bug when i merge multiple schema file

Closed this issue · 7 comments

Screen Shot 2022-10-06 at 21 46 20

I'm following the tutorial, but when i merged schema, i got this bug. And i searched in a few day, i still got nothing.
can some advise for me?

Hi @Anhdao153, can you show your configuration file?

Here is my configuration file
Screen Shot 2022-10-08 at 19 01 14

Post entity
Screen Shot 2022-10-08 at 19 01 24

User entity
Screen Shot 2022-10-08 at 19 01 52

Hi @Anhdao153!

I can see that you've made a typo in your configuration file. Please replace your relations with this and retry:

"relations": {
    "./src/models/core/Post.prisma:Post.user": "./src/models/core/User.prisma:User"
}

Hi @DavidHancu !
I tried, but unfortunately it didn't work
I still don't know why, please help
SOS :((
Screen Shot 2022-10-12 at 22 42 00

@DavidHancu Hi. after a few days from the last message i still can't resolve this bug, would you mind help me to fix it, please?

Hi @Anhdao153, this is not an issue with Prisma Util but with your configuration, as I can't replicate this issue in Prisma Util v1.3.0.

Closed due to inactivity.