https://www.prisma.io/ logo
Join Slack
Powered by
# orm-help
  • n

    nhuesmann

    05/12/2018, 11:17 PM
    @nilan đź‘‹
  • n

    nhuesmann

    05/12/2018, 11:17 PM
    I just can't seem to get lists of scalars working in Prisma
    n
    w
    • 3
    • 32
  • m

    Mr.niko.la

    05/13/2018, 6:06 AM
    can i connect the hosted playground to my aws appsync server?
  • t

    Tatsuyuki Ishi

    05/13/2018, 10:54 AM
    How do you handle errors? The default behaviour in Prisma seems to be "leak full exception info", which is probably undesired for production.
    h
    • 2
    • 1
  • j

    Jim

    05/13/2018, 11:05 AM
    In the React boilerplate what does the commented out input in schema.graphql do? # import Post from “./generated/prisma.graphql” https://github.com/graphql-boilerplates/react-fullstack-graphql/blob/master/advanced/server/src/schema.graphql
    w
    n
    • 3
    • 5
  • a

    Arnab

    05/13/2018, 4:49 PM
    I am trying to put together a short presentation about why people should switch to GraphQL. So far, I have been focusing on the following things: - the power of fetching everything in one go - avoiding over/underfetching - self-documenting API - strongly typed schema that helps you validate your input - reusing existing models vs always implementing custom endpoints. What other big wins are you missing from this list? I have decided to keep subscriptions and fragments off my list for now.
    n
    c
    • 3
    • 8
  • a

    Aubron Wood (ScoreShots)

    05/13/2018, 5:48 PM
    Has anyone present solved the concept of data replication across prisma.io stages? I have a production stage,
    prod
    , 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.
    n
    • 2
    • 7
  • a

    Aubron Wood (ScoreShots)

    05/13/2018, 5:52 PM
    Related question, has anyone set up a backup system using an on schedule
    prisma export
    ? How has that gone for folks thus far? Better idea to use that or a direct aurora based backup system?
    n
    • 2
    • 2
  • k

    Korn

    05/13/2018, 6:24 PM
    Hello everyone
    đź‘‹ 2
  • k

    Korn

    05/13/2018, 6:26 PM
    I've some question about
    [String!]!
    type.
  • k

    Korn

    05/13/2018, 6:27 PM
    For example, Menu schema.
    Copy code
    type Menu implements Node {
      id: ID! @unique
      foods: [String!]!
    }
  • k

    Korn

    05/13/2018, 6:31 PM
    I already run
    prisma deploy
    command every thing is work but doesn't have
    foods
    attribute in
    MenuWhereInput
    type from
    generated/prisma.graphql
    .
    n
    • 2
    • 6
  • k

    Korn

    05/13/2018, 6:39 PM
    example data =>
    { id: "cjh3ax67802vd0869e43fnqn5", foods: ["food01", "food02"] }
  • k

    Korn

    05/13/2018, 6:40 PM
    I just want to query
    foods in ["food01"]
    .
  • s

    sebastian

    05/13/2018, 7:00 PM
    Hi, pretty inexperienced with Apollo and Prisma. Following the example from howtographql with Node on the backend? Is this the right architecture?
  • u

    user

    05/13/2018, 7:01 PM
    A file was commented on
  • u

    user

    05/13/2018, 7:13 PM
    A file was commented on
  • u

    user

    05/13/2018, 7:14 PM
    A file was commented on
  • u

    user

    05/13/2018, 7:14 PM
    A file was commented on
  • e

    Ermolay

    05/13/2018, 7:45 PM
    does graphql server (conceptually) know how to request additional data if the mutation’s “resolve” function doesn’t return all fields that mutation AST asked for?
    n
    • 2
    • 1
  • p

    Pieter

    05/13/2018, 8:35 PM
    having a issue with graphql-bindings
  • p

    Pieter

    05/13/2018, 8:40 PM
    I am creating a entity called PhoneBook that has a
    owner: 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.
    m
    • 2
    • 8
  • p

    Pieter

    05/13/2018, 8:40 PM
    @nilan @schickling @matic
    n
    • 2
    • 1
  • h

    harmony

    05/13/2018, 8:51 PM
    don't ping people at the same time as posting stuff
    p
    • 2
    • 1
  • h

    HarryC

    05/14/2018, 1:50 AM
    Hi everyone, if I'm creating a new application and want to use a backend GraphQL implementation, should I start with Graphcool or Prisma? I don't have an existing database with REST APIs so my initial guess is to use Graphcool? Or does Prisma also offer cloud database solution as well?
    j
    • 2
    • 1
  • g

    geminiyellow

    05/14/2018, 2:10 AM
    hello wolrd
  • k

    Khoa Huynh

    05/14/2018, 2:32 AM
    hey folks, I am again having a problem with prisma deploy. I couldnt deploy my types to the server. No errors and nothing happens.
  • j

    Jim

    05/14/2018, 3:20 AM
    How can I make my docker-compose.yml use a different database? I already have 1 Prisma project using Docker. Im setting up a 2nd project that needs to use a new database. Even though I choose to set a new database when I
    prisma init
    it always points to the old one.
    m
    • 2
    • 2
  • k

    Khoa Huynh

    05/14/2018, 5:36 AM
    hey guys, how can we return a boolean value from a prisma query? @nilan
  • j

    Jim

    05/14/2018, 6:41 AM
    Has anyone initialised the React full-stack startkit in the last few days?
    graphql 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!
    n
    • 2
    • 2
1...282930...637Latest