Hey there! My Prisma server is crashing when I que...
# orm-help
m
Hey there! My Prisma server is crashing when I query more than one
pgRelation
at once through Graphql πŸ˜… (The datamodel is created through
introspect
) . I’m not sure if this is a know issue or if I should create a ticket? I tried with
prisma:1.15-alpha
as well but no luck. Would be happy with a workaround for now, as the alternative is going back to PostGraphile for the time being πŸ™‚
β€œCrashing” means
java.util.concurrent.ExecutionException: Boxed Error
Caused by: java.lang.Error: Passed deferreds should not belong to different relations and should not have different arguments.
prisma deploy
does not raise any issues
n
Interesting - what's the version you are running this on?
m
image: 'postgres:10'
With prisma I tried
1.13
, as well as
beta
and
alpha
(I really want Prisma to work, haha πŸ˜…)
n
could you try
1.12.3
instead?
m
sure thing πŸ™‚
n
I believe that a recent change to the way Prisma resolves relations might be the problem here.
In any case, let us document the bug you experience on
1.13
, so we can reproduce it and fix it as soon as possible πŸ™‚ You can use this template: https://github.com/prisma/prisma/issues/new?template=bug_report.md
I would love to confirm your problem on my machine.
m
thanks @nilan - will create an issue with a test case for
1.13
, given all the movement with the pg introspector I wanted to check here first before creating a duplicate issue πŸ™‚
πŸ‘Œ 1
n
Awesome, thanks a lot!
We'll also release
1.14
today, so I will also check it there once I have confirmed it on
1.13
.
m
sounds great πŸ‘ will test with
1.12.3
in the mean time
n
ok, then we have a lot of versions covered! πŸ˜„
πŸ˜€ 1
m
Uhm,
prisma introspect
on
1.12.3
won’t use the
public
schema as configured but what seems to be the
management
schema in pg πŸ˜„ Will extract a test case for
1.13
now and raise an issue on GH πŸ™‚ thanks @nilan
n
ahh ok! yea sounds good
m
for reference, the issue/test case can be found here: https://github.com/prisma/prisma/issues/2925
πŸ™ 1