onePunchMan
11/21/2018, 9:02 PMMichael
11/21/2018, 9:03 PMmerott
11/21/2018, 9:46 PMgraphqlgen
, and it may or may not be a bug… Not sure if the forum would be a better place to discuss it, but here I go…
If I have a mutation like this:
type Mutation {
updateUser(x: [String!]!, y: [String!], z: String): User!
}
The generated interface for the mutation variables, ArgsUpdateUser
, looks like this:
export interface ArgsUpdateUser {
x: string[];
y: string[];
z: string | null;
}
I would expect that y
should be typed as string[] | null
, but it’s just `string[]`… Is that expected behaviour?Lobo
11/21/2018, 9:58 PMAlex
11/21/2018, 11:30 PMBrent
11/22/2018, 12:26 AMhinsxd
11/22/2018, 3:13 AMkyleshevlin
11/22/2018, 4:30 AMtylim
11/22/2018, 8:46 AMpllumh
11/22/2018, 9:02 AMpllumh
11/22/2018, 9:26 AMGorodov Maksim
11/22/2018, 10:17 AMGorodov Maksim
11/22/2018, 10:25 AMLobo
11/22/2018, 10:59 AMGorodov Maksim
11/22/2018, 1:24 PMdatamodel.graphql
and datamodel.prisma
? .graphql
has a nice code highlighting but .prisma
does not (well, maybe there is a plugin for Webstorm, but I don't know).pllumh
11/22/2018, 1:56 PMheroku container:release
command ??pllumh
11/22/2018, 2:33 PMdanlucraft
11/22/2018, 3:31 PMnuno
11/22/2018, 5:34 PMprisma generate
also generate the Prisma Bindings?yantakus
11/22/2018, 7:38 PMGraphQL error: There are too many concurrent queries for this service.
GraphQL error: The call to the group [yan-takushevich-4a2363~server@dev] timed out.mean? Everything worked just fine for me before, today I can’t run the app without any modifications. Issues with prisma servers or what? In prisma console I see that there was 0 requests last hour.
Nathan Brenner
11/22/2018, 9:21 PMrequest
function from graphql-request?Nathan Brenner
11/22/2018, 9:38 PMJohnC
11/23/2018, 12:21 AMMartin Hunt
11/23/2018, 12:59 AMctx.prisma.request(query)
I'm getting prisma.request is not a function. Wondering if anyone knows what I'm missing?
Happy thanksgiving all 🙂JohnC
11/23/2018, 1:10 AMjasonkuhrt
hinsxd
11/23/2018, 7:33 AMtype User {
posts: [Post!]!
rank: Rank!
}
I want to calculate the rank using the number of posts, and I hope I can reuse the code in the posts
resolver.pllumh
11/23/2018, 7:48 AMjunjin
11/23/2018, 8:07 AMunion TransportMethod = Train | Bus | Airplane \n type route { \n transportMethod: [TransportMethod!]! \n }
tichy
11/23/2018, 9:46 AM