BacharSaleh
12/23/2018, 3:59 PMLuis Acerv
12/23/2018, 4:01 PMNick
12/25/2018, 9:14 PMNick
01/03/2019, 10:02 PMb4dnewz
01/06/2019, 6:26 PMprisma generate
and the typescript-client generator to generate a prisma-schema.graphql file along to the prisma-schema.ts file?b4dnewz
01/06/2019, 6:29 PM#import
pieces of the schema definition into custom schema using graphql-import, right now (i'm looking at the official example) the custom schema is simply replicated https://github.com/prisma/prisma-examples/blob/master/typescript/graphql/src/schema.graphql while it should be imported from the generated one for a better maintenability instead of manually keeping "in sync"
thanks in advanceSeppe Snoeck
01/10/2019, 8:27 PMLucas
01/15/2019, 3:06 AMchan1di
01/17/2019, 12:52 PMpapabarbas
01/18/2019, 1:36 AMDan Fein
01/18/2019, 1:40 AMDan Fein
01/18/2019, 1:40 AMtype Repo {
id: ID! @unique
repo_id: Int! @unique
name: String!
license: String
contributors: Int
user: GitHub @relation(name: "GitHubLink")
}
type GitHub {
id: ID! @unique
handle: String
stars: Int
repo: [Repo] @relation(name: "GitHubLink")
contributions: Int
profile_picture: String
active: Int!
}
Dan Fein
01/18/2019, 1:41 AMDan Fein
01/18/2019, 1:57 AMkitze
01/18/2019, 12:49 PMkitze
01/18/2019, 12:49 PMparent
is always undefinedkitze
01/18/2019, 12:49 PMkitze
01/18/2019, 12:49 PMAnthony
01/18/2019, 4:28 PMchan1di
01/20/2019, 8:54 PMPrakhar
01/22/2019, 7:45 AMrequest('/graphql', query, variables).then(res => res.json());
?Prakhar
01/22/2019, 7:47 AMres.level1data
, it didn't work eitherPrakhar
01/22/2019, 7:47 AMPrakhar
01/22/2019, 8:01 AMPrakhar
01/22/2019, 8:03 AMtype: {}
?Prakhar
01/22/2019, 9:41 AMPrakhar
01/22/2019, 9:41 AMPrakhar
01/22/2019, 9:41 AMLemonAndroid
01/25/2019, 11:01 AMMughees
01/27/2019, 5:59 PM