abhiaiyer
05/26/2018, 3:01 AMSam Jackson
05/26/2018, 5:14 AMpicosam
05/26/2018, 9:50 AMJson
fields, effectively having an SDL such as:
type User {
photos: [Json!]!
}
I know I would not be able to filter on images in that case, but this is not something I need as I would always be retrieving all user images. Any other known limitations or pitfalls to this anyone is aware of?mxmzb
05/26/2018, 12:15 PMJim
05/26/2018, 2:38 PMv
05/26/2018, 3:38 PMnilan
05/26/2018, 3:42 PMv
05/26/2018, 3:42 PMpe
05/26/2018, 4:01 PMgraphql ruby tutorial
and am getting an error on rails db:create
😞 can't even start the project.
I have Stack O'd the issues but nothing seems to work. this is likely an easy fix but I am NOOOOOOOObs
rails db:create --trace
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:create
rails aborted!
ActiveRecord::AdapterNotSpecified: 'local' database is not configured. Available: ["default", "development", "test", "production"]
I have the full stack trace if helpful. THANK YOU!!Sam Jackson
05/26/2018, 5:19 PMMukobi
05/26/2018, 6:47 PMAs of today, the conversion from any concrete data source (like MySQL, MongoDB or Firebase) to NDF must be performed manually
but I haven't been able to find much more than that. Are there any resources or tools explaining how to convert a database to NDF further?Sam Jackson
05/26/2018, 7:11 PMgraphql get-schema --project database
warning command prepare both exists in plugin <project-path>/node_modules/graphql-cli-prepare and is shipped with the graphql-cli.
The plugin is being ignored.
⠋ (node:30922) ExperimentalWarning: The fs.promises API is experimental
⚠ Boxed Error: {"response":{"errors":[{"message":"Boxed Error","requestId":"us1:api:cjhnrro7ar4ed0b62pgb6uw6w"}],"status":500},"request":{"query":"\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n description\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n description\n fields(includeDeprecated: true) {\n name\n description\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n description\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n "}}
Slackbot
05/26/2018, 7:33 PMv
05/26/2018, 11:49 PM[void@HooliPadPro hackernews-node]$ prisma deploy
(node:16333) ExperimentalWarning: The fs.promises API is experimental
{ Error: GraphQL Error (Code: 400):
Hmmv
05/26/2018, 11:52 PMv
05/27/2018, 12:13 AMDukuo
05/27/2018, 2:06 AMDukuo
05/27/2018, 2:07 AMDukuo
05/27/2018, 2:07 AMzanmat0
05/27/2018, 2:47 AMzanmat0
05/27/2018, 2:47 AMSam Jackson
05/27/2018, 2:51 AMupsert
operation in the context of a resolver? like ctx.db.mutation.upsertSomething(...)
Jscott388
05/27/2018, 4:14 AMweakky
05/27/2018, 3:31 PMsonicrida
05/27/2018, 3:57 PMahmetozel
05/27/2018, 4:15 PMzanmat0
05/27/2018, 7:16 PMmtliendo
05/27/2018, 7:47 PMDevin
05/27/2018, 8:13 PMprisma.graphql
file but it won't regenerate when I use prisma deploy
Sam Jackson
05/27/2018, 8:56 PM