tylim
01/11/2019, 12:17 PMk0ff33
01/11/2019, 12:23 PMprisma init
or prisma deploy
couple of times but without luck. Thanks!rem
01/11/2019, 12:59 PMprisma deploy
is successful (or at least doesn't error).
Is there some bug, or way to force it or is there some issue with the prisma online bits?rem
01/11/2019, 1:02 PMSagar Tambe
01/11/2019, 2:36 PMlambda
Doug Lance
01/11/2019, 3:24 PMBert
01/11/2019, 3:30 PMBrian
01/11/2019, 4:29 PMAnthony
01/11/2019, 4:51 PMrem
01/11/2019, 5:07 PMTypeError: Cannot read property 'type' of undefined
on a first time prisma generate
(and have any advice)?windkomo
01/11/2019, 6:35 PMimport { User } from '../../generated/prisma';
My front-end uses some typescript as well and I’m wondering if I could (and should) use these types on the front-end as well?Gridley123
01/11/2019, 6:41 PMGridley123
01/11/2019, 6:42 PMGridley123
01/11/2019, 6:43 PMGridley123
01/11/2019, 6:43 PMjoselfonseca
01/11/2019, 8:26 PMjoselfonseca
01/11/2019, 8:28 PMSam
01/11/2019, 10:36 PMfaure
01/12/2019, 2:33 AM""
)faure
01/12/2019, 2:34 AMfaure
01/12/2019, 2:36 AMMoritz
01/12/2019, 10:17 AMnull
? For example, I would like to get all users where partner: Partner
is not set/disconnected. Thanks in advance!andrux
01/13/2019, 2:32 AMdb.mutation.createUser()
with multiple UserCreateInput!
objects? I tried it as an array but it didn’t workandrux
01/13/2019, 2:33 AM{ GraphQLError: Field "createUser" argument "data" of type
"UserCreateInput!" is required but not provided.
cristianexer
01/13/2019, 4:10 PMCCBCodeMonkey
01/13/2019, 5:54 PMCCBCodeMonkey
01/13/2019, 5:54 PMjamiehalvorson
01/13/2019, 10:52 PMprisma import
pulling our prod db into local for some testing, however, its not imported any of the relations
. I’ve opened the zip from the export and I can see that all of our relations are in relations/000001.json
. Has anyone else had this issue or know what might be happening?
When I look at one of the relation tables in Sequel Pro (_ClassToFile
) there are no rows, however, in the JSON file there are 95 _ClassToFile
relations.
Prod is running Prisma 1.15.x
and my local is running Prisma 1.23.4
tylim
01/14/2019, 7:59 AM// Update name of a specific user and retrieve the `id`
prisma.mutation.updateUser({ where: { id: 'abc' }, data: { name: 'Sarah' } }, '{ id }')
this is example i found on prisma binding how to query single field of database(not sure i worded it correct or not)
how it works, is it query all fields then filter it out or is it query only that field?zonofthor
01/14/2019, 10:06 AMtype Test {
id: ID! @unique
wicked0: [String]
wicked1: [String!]
wicked2: [String!]!
}
becomes on prisma
Fields
id ID!
wicked0 [String!]!
wicked1 [String!]!
wicked2 [String!]!
and gql-gen
type Test implements Node {
id: ID!
wicked0: [String!]!
wicked1: [String!]!
wicked2: [String!]!
}