Bruno Prela
09/11/2018, 4:55 PMlawjolla
09/11/2018, 5:03 PMHenry
09/11/2018, 5:19 PMharmony
09/11/2018, 5:19 PMmario
09/11/2018, 5:27 PMbrikou
09/11/2018, 5:27 PMprisma generate
commandrwatts3
09/11/2018, 5:31 PMlawjolla
09/11/2018, 6:09 PM{ id users { id ...} }
string. Am I understanding it??Bruno Prela
09/11/2018, 6:23 PMBruno Prela
09/11/2018, 6:24 PMThe scalar field `slides` has the wrong format: `[String!]!` Possible Formats: `String`, `String!`
From here https://www.prisma.io/docs/data-model-and-migrations/data-model-knul/#list I believe it should work, and in the past has worked to create array fields in postgres, so I was wondering how I would continue using this featureBruno Prela
09/11/2018, 6:26 PMsean
09/11/2018, 6:52 PMconst { prisma } = require('./prisma')
for building an app with Prisma but thereās no index.js
for this to be a valid importHarryC
09/11/2018, 8:18 PMrequire('./generated/prisma')
anymorewitt3rd
09/11/2018, 8:44 PMnode_modules/http-link-dataloader/dist/src/types.d.ts:5:14 - error TS2304: Cannot find name 'RequestInit'.
5 method?: RequestInit['method'];
~~~~~~~~~~~
jaybauer
09/11/2018, 8:49 PMnode-schedule
library to do this, which acts like a Node cron job. I want query to run at midnight every day that will check all the pending posts, see if the DateTime
matches the current day, and then confirm the post.
My question is, how can I run this query on the server? Obviously doing it on the front-end is easy enough, but running these queries on the server is proving challenging, since all the examples with Prisma and itās resolvers rely on the ctx
object and such. I cannot find any documentation for this in `graphql-yoga`ās README or anywhere else. Does anyone have a quick answer to this?Mike
09/11/2018, 9:13 PMawait
unless you guys have black magic in the prisma client
const newUser = prisma.createUser({
name: "Alice",
email: "<mailto:alice@prisma.io|alice@prisma.io>"
})
Henry
09/11/2018, 9:15 PMlancej
09/12/2018, 1:06 AMBambang Handoko
09/12/2018, 3:37 AMkitze
09/12/2018, 6:09 AMgraphql
dependency, there is an error that multiple instances of graphql
are found in node_modules.
When removing it the server works fine.
Both prisma-client-lib
and prisma-lib
need to be installed as modules, this is not mentioned.
The tutorial mentions that generate
should be added to prisma.yml
but the entry is already there when using prisma init
.sascha
09/12/2018, 7:59 AMbrikou
09/12/2018, 8:09 AMbrikou
09/12/2018, 8:14 AMkratam
09/12/2018, 8:23 AMprisma-binding
to prisma@beta
. When running prisma deploy
I get an error that multiple instances of graphql
are requested. After looking at yarn.lock
, it seems that for example prisma-generate-schema@0.0.7
lists graphql "^0.13.2"
and prisma-cli-core@1.0.5-2
lists graphql "^0.11.7"
.
If I remove prisma
from devDependencies
it works, but is it really necessary to install prisma globally?Jerry JƤppinen
09/12/2018, 8:31 AMJim
09/12/2018, 9:22 AMweakky
09/12/2018, 9:58 AMreact-admin
called ra-data-opencrud
, and you can read a lot more about it here https://www.prisma.io/forum/t/prisma-with-react-admin-build-a-working-backoffice-in-a-few-hours/
Feedbacks and suggestions would be very much appreciated !
See ya š»jferrettiboke
09/12/2018, 10:06 AMdocker-compose.yml
is aligned with Prisma CLI version? Should I update both of them at the same time or doesn't matter?Grant
09/12/2018, 10:45 AMLucian Doghi
09/12/2018, 11:57 AM