Andrei Bacescu
05/14/2019, 5:41 AMBruce He
05/14/2019, 7:29 AMBruce He
05/14/2019, 7:30 AMimpowski
05/14/2019, 11:03 AMLars-Jørgen Kristiansen
05/14/2019, 11:07 AMLars-Jørgen Kristiansen
05/14/2019, 11:07 AMnik
05/14/2019, 12:58 PMOsman Benlioğlu
05/14/2019, 1:33 PMkitze
05/14/2019, 2:06 PMnexus-prisma-generate
is suddenly complaining about duplicate graphql
modulemark
05/14/2019, 2:27 PMreturn { ...(await prisma.query.user({ where: { id } }, info), metadata }
metadata isn’t in the reponse if i take a look at it...
Ideally i would love to have an extra key in the JSON reponse next to “data”Tomasz
05/14/2019, 3:27 PMnuno
05/14/2019, 4:05 PMLuca
05/14/2019, 4:13 PMquery usersConnection {
usersConnection(first: 2, after: "a") {
edges {
node {
id
name
}
cursor
}
}
}
2019-05-14 16:07:19.230 UTC [778] LOG: execute <unnamed>: select
"Alias"."id",
"Alias"."name"
from "local$dev"."User" as "Alias"
where (
(
"Alias"."id" = (
select "local$dev"."User"."id"
from "local$dev"."User"
where "local$dev"."User"."id" = $1
)
and "Alias"."id" > $2
)
or "Alias"."id" > (
select "local$dev"."User"."id"
from "local$dev"."User"
where "local$dev"."User"."id" = $3
)
)
order by "Alias"."id" asc
limit $4
offset $5
2019-05-14 16:07:19.230 UTC [778] DETAIL: parameters: $1 = 'a', $2 = 'a', $3 = 'a', $4 = '3', $5 = '0'
Luca
05/14/2019, 4:14 PMLuca
05/14/2019, 4:42 PMnuno
05/14/2019, 5:10 PMcaptaindaylight
05/14/2019, 10:02 PMprisma deploy
I get:
ERROR: GraphQL Error (Code: 503)
{
"error": "<html>\r\n<head><title>503 Service Temporarily Unavailable</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>503 Service Temporarily Unavailable</h1></center>\r\n</body>\r\n</html>\r\n",
"status": 503
}
captaindaylight
05/14/2019, 10:03 PMMohamed Khalil
05/14/2019, 10:08 PMMohamed Khalil
05/14/2019, 10:09 PMgem
05/15/2019, 8:41 AMgem
05/15/2019, 8:41 AMOlaf
05/15/2019, 10:23 AMAndrei Bacescu
05/15/2019, 10:35 AMbkstorm
05/15/2019, 11:26 AMimport { prismaObjectType } from 'nexus-prisma'
export const Subscription = prismaObjectType({
name: 'Subscription',
definition(t) {
t.prismaFields(['notification'])
},
})
But the server can't start. [ERROR] 18:21:34 Error: Subscription are not supported yet
. What is the problem? I think Prisma already supports Subscription, right?CMcAboy
05/15/2019, 11:29 AMtaikn
05/15/2019, 12:36 PMcsamu
05/15/2019, 12:39 PMFran Dios
05/15/2019, 4:16 PMJoseph
05/15/2019, 9:46 PM