MojoJojo
10/25/2018, 3:38 PMMojoJojo
10/25/2018, 3:39 PM"errors": [
{
"message": "Unknown argument \"where\" on field \"features\" of type \"StockItem\".",
MojoJojo
10/25/2018, 3:40 PMpatrickdevivo
10/25/2018, 3:48 PMprisma generate
to generate a golang prisma client, but it seems to be generating invalid go code, in particular:
too many arguments in call to prisma.New
have (string, string, []graphql.ClientOption...)
want (string, ...graphql.ClientOption)
patrickdevivo
10/25/2018, 3:49 PMpatrickdevivo
10/25/2018, 3:49 PMian izaguirre
10/25/2018, 7:44 PMtim
10/25/2018, 9:38 PMtype Song @model {
id: ID! @isUnique
name: String!
performances: [SongPerformance!]! @relation(name: "Song??")
}
type SongPerformance @model {
id: ID! @isUnique
song: Song! @relation(name: "Song??")
concerts: [SongPerformance!]! @relation(name: "SongPerformances")
}
type Concert @model {
id: ID! @isUnique
setlist: [SongPerformance!]! @relation(name: "SongPerformances")
}
basically the models are a song, a concert, and songPerformance which is an instance of the song being played at a concert. Anyone have a good name for that? And do the relationships look correct?zonofthor
10/25/2018, 9:57 PMexpiresAt
filter is not working - it gives me empty [] for entries?nbjooqla
10/25/2018, 10:01 PMnbjooqla
10/25/2018, 10:01 PMJohnC
10/25/2018, 11:38 PMtrevor
10/26/2018, 3:42 AMtrevor
10/26/2018, 3:54 AMFran Dios
10/26/2018, 5:27 AM[SubscriptionSessionActor] Received unknown message: com.prisma.subscriptions.protocol.SubscriptionProtocolV07$Requests$GqlConnectionTerminate$@7313ce90
Any idea why?trevor
10/26/2018, 6:53 AMIndustrial
10/26/2018, 10:04 AMupsertThing
mutation contains 3 aguments, where
, create
and update
.Industrial
10/26/2018, 10:05 AMwhere
clause only contains an id
property. How can I use the same query for inserting and for updating data?nbjooqla
10/26/2018, 10:27 AMjt9001
10/26/2018, 11:08 AMTauriT
10/26/2018, 1:09 PMSlackbot
10/26/2018, 1:45 PMNick
10/26/2018, 2:16 PMIndustrial
10/26/2018, 3:08 PMSam
10/26/2018, 5:01 PMSam
10/26/2018, 5:07 PMconst fragmentMiddleware = {
Query: {
fragment: 'fragmentsdfgsdg author on Booksdfgsdfg { authorsfdgsdgfsdg }',
resolve: async (resolve, parent, args, context, info) => {
console.log(info.fieldName);
return await resolve(parent, args, context, info);
},
},
};
It would be preferable if the resolver was never called since the fragment spec is junk.Sam
10/26/2018, 5:30 PMNaka
10/26/2018, 7:07 PMSufyan
10/26/2018, 9:36 PMSufyan
10/26/2018, 9:36 PM