Alejandro Estrada
01/28/2019, 10:24 PMGomah
01/29/2019, 2:45 AMchan1di
01/29/2019, 8:11 PMNick
01/29/2019, 9:52 PMdata
field and see if that helps.Jeff
01/31/2019, 12:23 AMcsbdeak
02/01/2019, 12:42 PMeolxsi
02/01/2019, 1:03 PMcsbdeak
02/01/2019, 1:06 PMDan Ramos
02/01/2019, 5:12 PMAsh Berlin-Taylor
02/01/2019, 5:24 PMAsh Berlin-Taylor
02/01/2019, 5:25 PMJack Toumey
02/02/2019, 3:01 AMJack Toumey
02/02/2019, 3:09 AMJack Toumey
02/02/2019, 3:09 AMJack Toumey
02/02/2019, 3:56 AMexport const Message = new GraphQLObjectType({
name: 'Message',
fields: () => ({
id: { type: GraphQLNonNull(ObjectId) },
text: { type: GraphQLString },
createdAt: { type: GraphQLString },
user: {
type: User,
resolve: async (message, args, { loaders }) => {
return await loaders.user.load(message.userId);
},
},
})
});
Jack Toumey
02/02/2019, 4:50 AMJack Toumey
02/02/2019, 4:51 AMpllumh
02/06/2019, 9:02 AMpllumh
02/06/2019, 9:03 AM[11,55]
?gwil
02/08/2019, 11:55 AMArtur Mrozowski
02/12/2019, 10:03 AMcsbdeak
02/12/2019, 10:09 AMArtur Mrozowski
02/12/2019, 10:28 AMAndres Montoya
02/12/2019, 6:20 PMJohn Smeeth
02/13/2019, 12:15 PMJohn Smeeth
02/13/2019, 12:17 PMThe Post and User types are straightforward re-definitions of the models specified in datamodel.prisma, except that the Prisma-specific directives have been removed.
How can i avoid re-definition of the models on the schema?Murtaza
02/14/2019, 3:32 AMOli Bradford
02/14/2019, 4:53 AMTrust me! The URL-shortener is needed for statistics.
domko
02/14/2019, 4:03 PM!
on array indexes does? cant get any information without knowing the "name" of these thing.. i.E: https://github.com/prisma/graphql-request/blob/b0abe80788741f6360c7cd2cbc37620c573be0b1/src/types.ts#L60