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

    Till

    03/23/2018, 7:27 AM
    (cant open up pages with facebook in it since the corp proxy blocks it )
  • h

    horia.ancas

    03/23/2018, 8:27 AM
    can we subscribe to
    createComment
    for a specific
    Post
    , or we can only use
    updatedFields_contains
    to monitor changes in the scalars?
  • h

    horia.ancas

    03/23/2018, 8:29 AM
    nevermind, I see there’s a
    node
    field I can use
  • h

    horia.ancas

    03/23/2018, 8:29 AM
    😻
  • p

    picosam

    03/23/2018, 8:40 AM
    Hello, can the
    default
    app extension
    endpoint
    in the file
    .graphqlconfig.yml
    come from
    .env
    as well?
  • h

    horia.ancas

    03/23/2018, 9:37 AM
    hey, any idea where I can find the source code for the
    prisma init
    examples?
    n
    • 2
    • 2
  • h

    horia.ancas

    03/23/2018, 9:38 AM
    I’d like to know how the database only works
  • s

    Scubadude

    03/23/2018, 10:33 AM
    Hello is the tutorion on freecom not available anymore on graphcool website?
  • r

    Raj Chaudhary

    03/23/2018, 11:09 AM
    Hello community. I am using Google Cloud Datastore as one of my databases. It's Google's proprietary cloud native NoSQL database. I plan to write a Prisma connector for it. How much work would it be? Also, any links to best practices OR help in writing new Prisma connectors to different databases appreciated as I might also use Google Cloud Spanner. Thanks.
    n
    • 2
    • 4
  • r

    rein

    03/23/2018, 12:28 PM
    Is there a public roadmap or priority list somewhere to see what the up and coming features/fixes are?
    n
    h
    • 3
    • 8
  • j

    jferrettiboke

    03/23/2018, 12:36 PM
    Hello! Does anyone know how to reset data from tests with Jest? I am calling to my Bash script with
    prisma reset --env-file ./.env --force
    but Prisma returns an error saying "Error: Couldn’t find
    prisma.yml
    file. Are you in the right directory?". When my script is executed, it is on the root path of the project but I am executing tests under
    /tests
    . Any idea how to solve this? I have trying with many workarounds but nothing seems to work.
    p
    n
    • 3
    • 29
  • a

    anton-b

    03/23/2018, 12:43 PM
    Is Prisma going to support Interfaces anytime soon?
  • m

    martin

    03/23/2018, 2:50 PM
    Hey guys! I am trying to host my Prisma API on my WIFI network so that my react native app can access it when using the app via my physical phone. When I try to login I get a response in my terminal, but I also get this:
    Copy code
    [Network error]: FetchError: request to <http://localhost:4466/Ecommerce-server/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
    Error: request to <http://localhost:4466/Ecommerce-server/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
        at Object.checkResultAndHandleErrors (/Users/martinnord/Apps/Ecommerce-server/node_modules/graphql-tools/src/stitching/errors.ts:97:11)
    h
    • 2
    • 14
  • r

    Ryan Trainor

    03/23/2018, 3:48 PM
    Hi All! 👋. I completed the "graphql.js Tutorial - Introduction" [https://www.howtographql.com/graphql-js/0-introduction/ ] because that is the tutorial that the "React + Apollo Tutorial - Introduction" [https://www.howtographql.com/react-apollo/0-introduction/ ] says will be the starting backend server the the React + Apollo Tutorial, but now that I have double checked all the code, it apears that client and server are not talking to each other. On startup I am getting the attached error messages in the console.
  • u

    user

    03/23/2018, 3:54 PM
    @nikolasburk commented on @Ryan Trainor’s file

    https://prisma.slack.com/files/U9RTDQE64/F9V56DWHG/image_uploaded_from_ios.png▾

    : Hey Ryan! Sorry, I don’t quite understand your problem. Are you having trouble with the
    React & Apollo
    or with the
    graphql-js
    tutorial?
  • r

    Ryan Trainor

    03/23/2018, 3:56 PM
    Yes, in the React & Apollo tutorial it says you will be using the final project from the next from Graphql-js tutorial. And so I followed the Graph-ql tutorial. With all tests passing, and then tried to use that server in the React Apollo tutorial
    n
    b
    • 3
    • 15
  • v

    vistriter

    03/23/2018, 4:02 PM
    How to generate url slug like airbnb or netflix? https://www.netflix.com/title/80025172 https://www.airbnb.com/rooms/444289 In my mind, I must count postConnect. Then count++ and add to slug post data model. But https://www.airbnb.com/rooms/1 or https://www.airbnb.com/rooms/000001 It’s not working. I want to know technique or tip. Thank you! 😀
    h
    • 2
    • 1
  • m

    Michael Jones

    03/23/2018, 4:03 PM
    Hello, I just got started with Prisma a few hours ago and I am slightly confused on one thing. I plan on deploying to the Prisma Cloud when it comes time, but my question is about the database creation. I will host the database myself through Amazon like the tutorial says to do, but do I have to create the tables myself? I know that I define the schema I would like in the SDL syntax. Does Prisma automatically generate the tables and everything for me, or do I have to do that part myself?
    n
    • 2
    • 6
  • b

    Bro

    03/23/2018, 6:06 PM
    When building something with docker deployed Prisma and graphql-yoga do you generally use subscriptions conservatively? Is performance a big part of that decision to make something available as a subscription or is it more about what would be nice to have on the front end?
    d
    n
    l
    • 4
    • 31
  • d

    Daniel K.

    03/23/2018, 6:22 PM
    I have to admit that as much as I do love Prisma, it's painful realization, that subscriptions are still (since Graphcool) on kind of sidetrack and never getting enough attention to get those done properly, now even with broken filtering and need to handle that on a server side I am already thinking to do some sort of tech split and use Prisma more like a long therm storage and use Firestore for a realtime data and hide both of these behind single GraphQL schema ... it's not exactly dream way to go, but at least it will be reliable 😕
    l
    b
    n
    • 4
    • 8
  • m

    Malak

    03/23/2018, 6:34 PM
    hi Everybody , do you know how to test server less in local when I use google provider ?
  • t

    terion

    03/23/2018, 6:49 PM
    had anybody faced issue like this? https://github.com/graphcool/prisma/issues/2148
  • d

    dardub

    03/23/2018, 7:46 PM
    Is graphcool-lib still the best way to perform a query in a webhook?
  • w

    wesbos

    03/23/2018, 8:11 PM
    How do I see my data in Prisma cloud?
  • w

    wesbos

    03/23/2018, 8:11 PM
    it’s just empty once i’ve deployed
    l
    • 2
    • 2
  • m

    Michael Jones

    03/23/2018, 8:54 PM
    Is there a way to add documentation to the schema? For instance, add a description of what each field is for.
    d
    • 2
    • 5
  • a

    alechp

    03/23/2018, 9:51 PM
    Re:
    serverless framework integration
    (https://github.com/graphcool/graphcool-framework/issues/243) Is it safe to assume there’s currently no way to specify provider / iam roles for Graphcool Framework? Just double checking to make sure I didn’t miss anything
    f
    • 2
    • 8
  • j

    Jonathan

    03/24/2018, 12:21 AM
    Can someone explain to me why this update mutation isn't working. I've been trying solve this for hours.
  • j

    Jonathan

    03/24/2018, 12:22 AM
    scheme looks like this: type Person @model { id: ID! @isUnique createdAt: DateTime! updatedAt: DateTime! firstName: String lastName: String displayName: String email: String phone1: String phone2: String phoneTag1: String phoneTag2: String createdBy: User @relation(name: "CreatedByUser") owner: User @relation(name: "OwnedByUser") }
  • r

    ryan

    03/24/2018, 1:27 AM
    Hey @Jonathan, your mutation isn’t working because you’re not using the variables
    $id
    and
    $displayName
    in your mutation anywhere. Either remove them from the declaration, or pass them into
    updatePerson
1...618619620...637Latest