nhuesmann
05/12/2018, 11:17 PMnhuesmann
05/12/2018, 11:17 PMMr.niko.la
05/13/2018, 6:06 AMTatsuyuki Ishi
05/13/2018, 10:54 AMJim
05/13/2018, 11:05 AMArnab
05/13/2018, 4:49 PMAubron Wood (ScoreShots)
05/13/2018, 5:48 PMprod
, and a staging stage staging
. There is content created in the production service that I occasionally need to troubleshoot in the staging branch (user/admin created content). Typically I would set up a recurring job to run the export in mysql, and import on the other side. I could probably do the same here, but I'm debating between running the commands against the aurora database directly vs a prisma export
flow, and wondering if anyone has any good resources related to the concept.Aubron Wood (ScoreShots)
05/13/2018, 5:52 PMprisma export
? How has that gone for folks thus far? Better idea to use that or a direct aurora based backup system?Korn
05/13/2018, 6:24 PMKorn
05/13/2018, 6:26 PM[String!]!
type.Korn
05/13/2018, 6:27 PMtype Menu implements Node {
id: ID! @unique
foods: [String!]!
}
Korn
05/13/2018, 6:31 PMprisma deploy
command every thing is work but doesn't have foods
attribute in MenuWhereInput
type from generated/prisma.graphql
.Korn
05/13/2018, 6:39 PM{ id: "cjh3ax67802vd0869e43fnqn5", foods: ["food01", "food02"] }
Korn
05/13/2018, 6:40 PMfoods in ["food01"]
.sebastian
05/13/2018, 7:00 PMuser
05/13/2018, 7:01 PMuser
05/13/2018, 7:13 PMuser
05/13/2018, 7:14 PMuser
05/13/2018, 7:14 PMErmolay
05/13/2018, 7:45 PMPieter
05/13/2018, 8:35 PMPieter
05/13/2018, 8:40 PMowner: User!
relationship. When I create the user I automatically create a PhoneBook for it. I then want to add a entry into the PhoneBook, but I need to link the entry. When calling ctx.db.mutation.creatEntry()
I need to have the phoneBookId to connect it. The only thing I have is the JWT, which gives me the UserId, but what do I do with it? I can't call ctx.db.query.user
as it doesn't return the phonebook entity with it. When I try to add a 2nd param and call ctx.db.query.user({where: {id}, '{ phonebook { id }}'})
it throws an error.Pieter
05/13/2018, 8:40 PMharmony
05/13/2018, 8:51 PMHarryC
05/14/2018, 1:50 AMgeminiyellow
05/14/2018, 2:10 AMKhoa Huynh
05/14/2018, 2:32 AMJim
05/14/2018, 3:20 AMprisma init
it always points to the old one.Khoa Huynh
05/14/2018, 5:36 AMJim
05/14/2018, 6:41 AMgraphql create my-app --boilerplate react-fullstack-advanced
@nilan I think it has a bug. When I add a new content type it’s schema isn’t being added to /generated/prisma.graphql, meaning that I cant access any new content types from the front-end!