pettanko
06/11/2018, 7:31 PMhez
06/11/2018, 9:14 PMhez
06/11/2018, 9:14 PMwhere
selector to be passed, and that seems separate from sortingalec
06/11/2018, 11:06 PMlancej
06/12/2018, 1:04 AMgraphql codegen
I updated the model with extra types and it started to give this error. Even when reverting to a model that did work still gives this error. Anyone came across this? { GraphQLError: Syntax Error: Expected Name, found }
at syntaxError (/Users/.../projects/.../node_modules/graphql/error/syntaxError.js:24:10)
at expect (/Users/.../projects/.../node_modules/graphql/language/parser.js:1299:32)
at parseName (/Users/.../projects/.../node_modules/graphql/language/parser.js:92:15)
at parseFieldDefinition (/Users/.../projects/.../node_modules/graphql/language/parser.js:809:14)
at many (/Users/.../projects/.../node_modules/graphql/language/parser.js:1348:16)
at parseFieldsDefinition (/Users/.../projects/.../node_modules/graphql/language/parser.js:799:50)
at parseObjectTypeDefinition (/Users/.../projects/.../node_modules/graphql/language/parser.js:757:16)
at parseTypeSystemDefinition (/Users/.../projects/.../node_modules/graphql/language/parser.js:663:16)
at parseDefinition (/Users/.../projects/.../node_modules/graphql/language/parser.js:143:16)
at parseDocument (/Users/.../projects/.../node_modules/graphql/language/parser.js:110:22)
message: 'Syntax Error: Expected Name, found }',
locations: [ { line: 193, column: 1 } ],
path: undefined }
lancej
06/12/2018, 1:33 AMgraphql get-schema --project database
and only when there is only a collection element. type Team {
members: [Participant!]!
}
This will cause the error, but can be corrected if name: String
(or the like) is added. But only after deleting the generated files. It may be down to the lack of unique ID also (which it should have)matty
06/12/2018, 1:49 AMLoic
06/12/2018, 2:36 AMIf you don’t want to fiddle with CloudFormation and the AWS GUI yourself, you can also use Prisma Cloud to easily spin up your own Prisma Clusters.but I couldn’t find any information on how to create a Private cluster/server in Prisma Cloud. Is that available on the paid plan only? Thanks!
BotsBotsBots
06/12/2018, 2:45 AMsplodingsocks
06/12/2018, 3:41 AMWarning: handler 'graphql' returned a promise and also use a callback! This is problematic and might cause issues in you lambda.
splodingsocks
06/12/2018, 3:42 AMDukuo
06/12/2018, 6:54 AMSlackbot
06/12/2018, 9:58 AMterion
06/12/2018, 10:57 AMpanzupa
06/12/2018, 2:15 PMSébastien
06/12/2018, 2:25 PMSikula
06/12/2018, 2:30 PMSébastien
06/12/2018, 2:46 PMkgoggin
06/12/2018, 3:43 PMtimm
06/12/2018, 4:58 PMnilan
06/12/2018, 5:08 PMDukuo
06/12/2018, 5:08 PMK
06/12/2018, 5:10 PMK
06/12/2018, 5:11 PMhamdi
06/12/2018, 5:50 PMpeter
06/12/2018, 6:01 PMgraphql-yoga
I have the following options config:
const options = {
port: PORT,
cors: {
credentials: true,
origin:
process.env.NODE_ENV === 'production' && !process.env.FORCE_DEV
? ['<https://xxx.app>', /xxx-(\w|-)+\.now\.sh/g, /xxx\.app/]
: [/localhost/]
},
endpoint: '/graphql',
subscriptions: '/subscriptions',
playground: '/playground'
}
medelman
06/12/2018, 7:05 PMSteven
06/12/2018, 7:57 PMjaybauer
06/12/2018, 8:44 PMwking
06/12/2018, 10:43 PM