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

    harmony

    01/16/2018, 11:59 PM
    src/generated/prisma.graphql
    might be what you're looking for
  • l

    logan

    01/17/2018, 12:03 AM
    that is what i’m looking for.. i’m migrating from a beta version, and for some reason, that schema file isn’t being generated even though I’ve specified a path in
    prisma.yml
  • h

    harmony

    01/17/2018, 12:04 AM
    the easiest is to just generate a new project and copy stuff over
  • l

    logan

    01/17/2018, 12:04 AM
    `Writing database schema to
    schemas/prisma.graphql
    234ms`, but no dice
  • h

    harmony

    01/17/2018, 12:04 AM
    at least that's what I did
  • l

    logan

    01/17/2018, 12:05 AM
    hokay
  • s

    Steve Mu

    01/17/2018, 12:13 AM
    I used token when accessing a prisma API, but it does not work. The code I used in front-end are:
    Copy code
    code
    
        const httpLink2 = new HttpLink(
          {
            uri: '<https://us1.prisma.sh/public-motleyrat-429/prisma-node-adv/dev>',
            headers: {
              "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjamNpNnZneDI1NHhwMDEyOHN6aGsxbDc4IiwiaWF0IjoxNTE2MTQ3NzI5fQ.zDkFMAuQHmguUKGioGBG26ehMYA80RdWW9E3Amf_Kz0"
            }
    
          },
        );
    
        const client2 = new ApolloClient({
          link: httpLink2,
          cache: new InMemoryCache(),
        })
    
        client2.query({ query: gql`{ posts { id
                title
            } }` }).then(() => {
          console.log('finished');
        });
    I got this error: Uncaught (in promise) Error: Network error: Server response was missing for query 'null'.
  • r

    radicand

    01/17/2018, 12:16 AM
    is there an upgrade path to follow from a gcf project, or is that in the works?
    👍 1
  • g

    gihrig

    01/17/2018, 1:52 AM
    @iamclaytonray and anyone else annoyed by the multitude of ‘dancing parrots’, Instructions to disable animations in Slack: https://www.google.com/search?q=slack+disable+animated+avatars&amp;oq=slack+disable+animated+avatars&amp;aqs=chrome..69i57.9764j0j1&amp;sourceid=chrome&amp;ie=UTF-8
    fast parrot 4
    parrotwave6 3
    🦜 1
    i
    • 2
    • 2
  • c

    chaim

    01/17/2018, 2:20 AM
    @chaim pinned a message to this channel.
  • k

    Kat

    01/17/2018, 2:40 AM
    anyone else having issues deploying locally on Windows with Prisma? Schema seems to be messed up compared to when I'm running the "yarn dev" server
  • k

    Kat

    01/17/2018, 2:40 AM
    😞
  • s

    Steve Mu

    01/17/2018, 3:34 AM
    I have bug to report: in resolver-forwarding example, in prisma.yml, on line 13, it is
    Copy code
    datamodel: database/datamodel.graphql
    but it should be
    Copy code
    datamodel: datamodel.graphql
    🙏 1
    n
    • 2
    • 2
  • m

    matty

    01/17/2018, 3:36 AM
    Are there any known issues on Graphcool Simple API at this time? I have Sentry.io error reports coming in that users are receiving occasional 504 Gateway Timeout errors
    n
    n
    • 3
    • 5
  • m

    matty

    01/17/2018, 3:38 AM
    and then when this error is received, the response contains a non-JSON body. Triggering another error - "Unexpected token < in JSON at position 0"
  • s

    Steve Mu

    01/17/2018, 4:06 AM
    Is there any way to forward every eligible requests to prisma from resolvers? I would like to front-end easily access the auto-generated APIs. Thanks.
    n
    j
    • 3
    • 3
  • f

    Fi1osof

    01/17/2018, 6:05 AM
    Hi all! I start yarn dev and it`s OK. Can i run npm run build AND pm2 like pm2 start dist ?
  • f

    Fi1osof

    01/17/2018, 6:06 AM
    I can not start playground via pm2
  • f

    Fi1osof

    01/17/2018, 6:07 AM
    P.S. using prisma
  • f

    Fi1osof

    01/17/2018, 6:15 AM
    i guess i can
    pm2 start npm -- start npm-run-all --parallel start playground
  • h

    harrisrobin

    01/17/2018, 6:29 AM
    I just tried out Prisma.. i am blown away. Great job 🙌
  • h

    harrisrobin

    01/17/2018, 6:42 AM
    Any chance to get a Prisma + auth0 example?
    👏 2
    parrotwave4 2
    👍 2
    e
    l
    • 3
    • 9
  • g

    georgelovegrove

    01/17/2018, 6:43 AM
    Any ETA on Prisma Cloud?
    👍 1
  • j

    Jai

    01/17/2018, 7:55 AM
    Hey the docs mention the repository git clone https://github.com/graphcool/frontend-examples.git but it isn't there ...
    n
    • 2
    • 1
  • b

    Bartek

    01/17/2018, 7:55 AM
    So what is Graphcool now? like this is a name of the company that develop Prisma (framework?)? 🙂
    h
    • 2
    • 1
  • j

    Jai

    01/17/2018, 8:20 AM
    Even this example seems to be broken - https://www.prismagraphql.com/docs/quickstart/fullstack/react/apollo-tijghei9go
  • j

    Jai

    01/17/2018, 8:21 AM
    It asks to do a 'prisma deploy' but I have only installed graphql-cli which doesn't have prisma.
    a
    j
    • 3
    • 3
  • d

    donald

    01/17/2018, 8:39 AM
    Anyone else having issues accessing https://console.graph.cool/?
    m
    • 2
    • 2
  • s

    siyfion

    01/17/2018, 9:14 AM
    Is there a bit in the Prisma docs somewhere that explains where the DB connection is set / configured? Perhaps I missed it…
  • s

    siyfion

    01/17/2018, 9:14 AM
    Like, can you have a Prisma server and point it at an AWS RDS instance?
1...519520521...637Latest