https://www.prisma.io/ logo
Join Slack
Powered by
# prisma-whats-new
  • d

    Dami

    03/18/2018, 11:00 PM
    Hi guys, sorry for the inconvenience, I'm new with Prisma and GraphQL and the state that has problems to make mutations with relationships. He tried to raise a simple API that has questions and answers. The answers are linked to the questions. Although I could do that in the datamodel.graphql, no example was found to perform the mutation to add a new answer related to a question.
    k
    • 2
    • 10
  • d

    Dami

    03/18/2018, 11:01 PM
    I don't know if anyone could give me a hand or maybe an example of a repository?
  • a

    Artem

    03/19/2018, 6:15 AM
    Is anyone aware of a repo that demonstrates using server side subscriptions with Prisma? I tried adding the example in the docs to the
    node-advanced
    template but it never hits my endpoint.
  • d

    davidyoung

    03/19/2018, 9:14 AM
    apex up vs zeit now for graphql server? 🙂
    h
    • 2
    • 12
  • p

    patrick_madx

    03/19/2018, 11:22 AM
    Question(s): Let's say I have a 1on1 prisma relation (e.g. a User has an Address). I initially set the Address to somewhere in Amsterdam, but during the
    ctx.mutation.updateUser()
    call I create a new Address somewhere in Berlin. What happens to the Amsterdam Address? Is it floating around somewhere? Does it still have a (one way) reference to the user?
  • r

    rein

    03/19/2018, 12:23 PM
    Can someone explain to me why I get
    Your token is invalid ...
    when I try changing the default 'mysecret123' to something more elaborate?
    n
    • 2
    • 2
  • s

    shawn.liu

    03/19/2018, 3:12 PM
    Must i use node 6.10 to install the modules if want to deploy it to lambda ?
  • p

    picosam

    03/19/2018, 3:16 PM
    Hello, after a bit of reading (not much, I admit!) I’m not sure whether or not
    prisma token
    generates a “permanent” HS256 token that never expires (equivalent to Graphcool Framework’s PAT) or… not!?
    l
    n
    j
    • 4
    • 16
  • n

    nephix

    03/19/2018, 3:22 PM
    Are all the tutorials gone from https://www.graph.cool/docs ? I remember there have been a couple, like one explaining how to build an intercom clone. Are they getting updated or why have they been removed?
    🤨 1
  • m

    Manjula Dube

    03/19/2018, 3:49 PM
    starting thread for Kiran here
    n
    • 2
    • 3
  • r

    rein

    03/19/2018, 4:31 PM
    hey guys, quick question, could someone tell me what Im doing wrong here?
    let user = await ctx.db.query.user({ where: { providerId: data.id}}, info);
  • r

    rein

    03/19/2018, 4:32 PM
    this results in
    Error: Field "user" of type "User" must have a selection of subfields.
  • h

    harmony

    03/19/2018, 4:36 PM
    info might not be for the user query
  • r

    rein

    03/19/2018, 4:37 PM
    I see, could I do it without info?
    n
    • 2
    • 7
  • p

    pettanko

    03/19/2018, 6:07 PM
    Has this arrived yet? "transparently sync data from the primary region to other regions in order to deliver fast local query results to users in all regions of the world."
    n
    • 2
    • 3
  • d

    davidyoung

    03/19/2018, 6:40 PM
    Hi @nilan, just migrating to prisma cloud 🙂. I'm looking to change my prisma_secret, but any time I do I get "Your token is invalid. It might have expired or you might be using a token from a different project." when deploying the project after changing it. What am I doing wrong?
    l
    • 2
    • 8
  • d

    davidyoung

    03/19/2018, 6:40 PM
    Or anyone else if it's an obvious answer 🙂
  • j

    JP

    03/19/2018, 6:51 PM
    Anyone tried to host a prisma service on docker for ARM ?
  • n

    nitinbagoriya

    03/19/2018, 7:11 PM
    In order to use GraphCool do i need to have any database or this framework store my data
  • j

    JP

    03/19/2018, 7:12 PM
    I think graphcool uses mysql in the back
  • n

    nitinbagoriya

    03/19/2018, 7:13 PM
    what about real time data update then ?
  • j

    JP

    03/19/2018, 7:16 PM
    i'm not sure.. im new to this
    🙂 1
  • n

    nitinbagoriya

    03/19/2018, 7:17 PM
    btw thanks man (Y)
  • j

    JP

    03/19/2018, 7:35 PM
    im trying to see if I can run this on a Raspberry pi 3 😛
  • m

    moonmeister

    03/19/2018, 9:22 PM
    Getting an error message while working through the React+Apollo tutorial...I'm pretty sure I've copied the code correctly...thoughts?
  • u

    user

    03/19/2018, 9:44 PM
    @kuldar commented on @moonmeister’s file

    https://prisma.slack.com/files/U9H7WS0TB/F9SFUN8PL/image.png▾

    : Are you sure you've imported
    gql
    like this 👉
    import gql from 'graphql-tag'
    ?
  • e

    Ed Huang

    03/19/2018, 9:49 PM
    hi, im new to prisma, it seems
    prisma local start
    just simply launch a container of prisma service and a container of MYSQL 5.7. My question is how to make prisma service use an existing mysql instance outside docker?
  • e

    Ed Huang

    03/19/2018, 9:50 PM
    Or any approach to launch prisma service locally without docker?
    l
    n
    • 3
    • 8
  • u

    user

    03/19/2018, 9:58 PM
    @moonmeister commented on @moonmeister’s file

    https://prisma.slack.com/files/U9H7WS0TB/F9SFUN8PL/image.png▾

    : Hey! Thanks. Yeah I had imported it with
    import { gql } from 'graphql-tag'
    per the documentation...per your suggestion I tried
    import gql from 'graphql-tag'
    and that fixed it.
  • y

    yunjia

    03/19/2018, 10:08 PM
    @nilan I have suddenly experienced cors problem. It was all working 20 mins ago, but now I got this:
    Failed to load <https://api.graph.cool/simple/v1/xxxxx>: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://myapp.com>' is therefore not allowed access. The response had HTTP status code 500. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
    I am using react-apollo. Any idea?
    n
    • 2
    • 2
1...613614615...637Latest