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

    wesbos

    04/20/2018, 2:22 PM
    My generated graphql file seems to have a weird comment in it- is this valid graphql? https://github.com/kumarharsh/graphql-for-vscode/issues/87
    n
    m
    h
    • 4
    • 13
  • a

    arjunyel

    04/20/2018, 2:58 PM
    I'll pay $20 to who ever can help me fix this GraphQL-request bug lol https://github.com/graphcool/graphql-request/issues/74
    h
    • 2
    • 4
  • r

    rohit

    04/20/2018, 3:59 PM
    Fancy meeting you here! 😆
  • g

    gantman

    04/20/2018, 6:07 PM
    Hi folks!
    👋 3
  • g

    gantman

    04/20/2018, 6:07 PM
    I’m super new to GraphQL, and I have a beginner question.
    n
    • 2
    • 1
  • s

    steveb

    04/20/2018, 6:24 PM
    Can anyone recommend tools or SaaS for performance testing a GraphQL (prisma) API?
    l
    • 2
    • 1
  • n

    noahdavis

    04/20/2018, 6:42 PM
    Really juicing my stack in prod right now and everything is performing great
    😍 1
  • i

    Isaiah Grey

    04/21/2018, 2:57 AM
    I’m trying to
    disconnect
    several relations that do not match the incoming relations to replace. Current
    connection
    when created looks like:
    Copy code
    const field = await ctx.db.mutation.createField({
        data: {
          ...data,
          values: { set: values },
          read: {
            connect: read.map(role => ({
              type: role
            }))
          },
          write: {
            connect: write.map(role => ({
              type: role
            }))
          }
        }
      });
    I’m unsure of how to do this kind of update, I’ve played around with the
    role_some
    ,
    role_every
    ,
    role_none
    , but I’m still rather confused on what each of those mean and how they work specifically. Thanks!!
    n
    • 2
    • 4
  • i

    Isaiah Grey

    04/21/2018, 2:58 AM
    I’m assuming this may be what I need, but would like to verify if possible 🙂
    n
    • 2
    • 2
  • t

    Tatsuyuki Ishi

    04/21/2018, 6:23 AM
    Should I use the integrations tab inside the Graphcool console? It seems undocumented and it doesn't seem to be available when using the local cluster.
    t
    • 2
    • 1
  • p

    picosam

    04/21/2018, 12:14 PM
    Hello ! So I noticed that all resolvers created in the API schema with names identical to those in the Prisma schema are automatically forwarded to Prisma. Is this documented anywhere?
    n
    • 2
    • 29
  • p

    playra

    04/21/2018, 5:19 PM
    Help please https://www.graph.cool/forum/t/heroku-deploy-server-does-not-work-after-boot/3246
  • w

    windkomo

    04/21/2018, 9:34 PM
    what are the guidelines regarding service/stage/cluster? One service and one cluster per stage (dev/staging/production)?
  • j

    Joe

    04/22/2018, 7:25 AM
    Hello! I'm new to this chat. Can anyone tell me how I can connect my existing MongoDB database to graphql-yoga? Thanks in advance!
    n
    • 2
    • 1
  • r

    romshark

    04/22/2018, 8:53 AM
    Hey guys, anyone working with GraphQL + Neo4j? Anyone directly resolving GQL into Cypher?
  • l

    Lydia

    04/22/2018, 2:06 PM
    I've been trying to fix this for days with deploying the existing GraphQL server using graphql-yoga to AWS Lambda. However, I'm having a node version issue because AWS Lambda only supports upto node v8.10 and my project is based on node v9.8. What is the best solution to resolve this issue? Thanks!
    n
    • 2
    • 1
  • l

    Leo Nemirovskii

    04/22/2018, 2:30 PM
    Hello, everyone. I am new on GrapQL and have an unusual task. How do I combine GrahQL server c external CRUD API server for data synchronization? Maybe there are some articles? What I mean - there are two servers. One GraphQL server (let's call it - "prod" ) and the second server is an enterprise application with which i want to constantly synchronize data (call it - "enterprise"). For example, there are 3 operations - create a product, delete a product, update a product. Together with synchronization, you should get the following Creating an item: "enterprise" sends a CRUD request for a new receive created product => save it to " prod" Remove the product: Receive a request to delete => delete it on the "prod" => sent CRUD query on "enterprise" => deleted from "enterprise" => receive from "enterprise" status message deletion (successfully, not successfully) Product update: Receive a request to change => change it to the "prod" => sent CRUD query on "enterprise" => receive from "enterprise" status message deletion (successfully, not successfully)
    n
    • 2
    • 1
  • n

    notrab

    04/22/2018, 2:37 PM
    Anyone experience with server side subscriptions?
    Subscription
    ✖️ The provided query doesn't include any known model name. Please check for the latest subscriptions API.
    n
    • 2
    • 4
  • n

    notrab

    04/22/2018, 2:37 PM
    Although the subscription works perfect in the playground for the model
  • m

    mrboutte

    04/22/2018, 3:26 PM
    Anyone in here running Apollo with Nextjs?
  • m

    mrboutte

    04/22/2018, 3:34 PM
    The go to withApollo example for nextjs repo, only covers connecting via Apollo client. Which is great. But to handle more complex routing in nextjs, you need to write your own server logic to handle dynamic pages. I'm just wondering if anyone has also set up Apollo server with the nextjs app
    h
    l
    • 3
    • 5
  • l

    Leo Nemirovskii

    04/22/2018, 4:05 PM
    So many people, but the chat is not very active 🙂
    n
    • 2
    • 1
  • l

    Lydia

    04/22/2018, 4:29 PM
    Any thoughts on Nextjs vs Create-React-App? I've already worked on an app using CRA but it requires SSR for sharing and SEO. Does it make sense to continue working on CRA or switch over to Nextjs in the long run?
  • m

    mrboutte

    04/22/2018, 4:41 PM
    @Lydia I think it depends on the complexity of the app. Having worked with both, I'll say, I love how minimal the configuration is on nextjs. It offers a LOT out of the box. But I'd probably still lean more towards using CRA for an app I plan to scale
    l
    • 2
    • 2
  • m

    mrboutte

    04/22/2018, 4:42 PM
    Regardless, you should spin up a sample app with nextjs just to see how great the developer experience is 😜
  • l

    Lydia

    04/22/2018, 6:50 PM
    I'm having problem with generating multiple Prisma clusters. It causing auth issue with secret key.
    Your token is invalid. It might have expired or you might be using a token from a different project.
    . https://www.graph.cool/forum/t/invalid-token-secret-key-with-multiple-prisma-clusters/3251
  • j

    Jack Peterson

    04/22/2018, 10:18 PM
    How would I query the type below to find the Person that has a matching email?
    Copy code
    type Person @model {
      id : ID! @isUnique
      emailAddresses: [String!]! @isUnique
    }
    For some reason I'm unable to query the emailAddresses because they're lists? It's not even a filter option?
    l
    n
    • 3
    • 5
  • d

    Daniel K.

    04/22/2018, 10:29 PM
    looks those new safe guards are too strict, I am trying to add new field like
    status: PlayerStatus! @default(value: Idle) @migrationValue(value: Idle)
    and I am getting this error, using
    --force
    does not help either
    You are creating a required field but there are already nodes present that would violate that constraint.
    n
    • 2
    • 1
  • d

    daniel

    04/23/2018, 3:06 AM
    Does anyone know what IP range graphcool uses? I need to know in order to whitelist for a 3rd party API.
    n
    p
    • 3
    • 3
  • a

    Anthony Hell

    04/23/2018, 5:44 AM
    hey everyone! is anyone working on dynamodb connector?
    n
    • 2
    • 1
1...8910...637Latest