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

    aperk

    05/08/2018, 9:39 PM
    1.8 not working for me with the postgres connector
  • a

    aperk

    05/08/2018, 9:39 PM
    Need help with this... using docker-toolbox on windows because docker for windows is incompatible w/ virtualbox . the debug command didn't output any files in the
    prisma-init
    directory, though the 3 files:
    docker-compose.yml
    ,
    prisma.yml
    , and
    datamodel.graphql
    are there. pls see

    https://i.imgur.com/V5YhIro.png▾

    😓 1
    n
    • 2
    • 3
  • s

    siyfion

    05/08/2018, 10:21 PM
    Sorry, I know this is probably a really dumb question, but… If I wanted to create a GraphQL server that utilised an AWS RDS backend (say Postgres, as it’s just been supported), how would I go about it? Currently say the RDS instance is up and running but with no data in it at all?
  • s

    siyfion

    05/08/2018, 10:21 PM
    Also, is there a way to run Prisma in a serverless container, like Lambda?
    d
    m
    n
    • 4
    • 9
  • r

    ryan

    05/08/2018, 11:18 PM
    Hi, just wanna make sure is it normal that I am not seeing the login option on the graph.cool website to log in to the console? I still have a project there that I'd like to access to. Thank you!
    n
    • 2
    • 2
  • m

    michal

    05/09/2018, 4:26 AM
    Hey is anyone from graphcool team online? @heres GUI returned 500 error when I changed one of my type names and now I can't login to graphcool console. All I can do is watch an infinite loader. This basically prevents me from further development of the application. 😕
    n
    • 2
    • 1
  • j

    Jim

    05/09/2018, 5:59 AM
    In my scheme users belong to a location:
    Copy code
    type Location {
      id: ID! @unique
      name: String!
      users: [User!]!
    }
    
    type User {
      id: ID! @unique
      name: String!
      location: Location
    }
    Im displaying the users at each location:
    Copy code
    export const LOCATION_QUERY = gql`
      query LocationQuery($machineName: String!) {
        location(machineName: $machineName) {
          id
          name
          machineName
          users {
            id
          }
        }
      }
    `;
    When a user joins a location the previous query gets updated automatically:
    Copy code
    const JOIN_LOCATION = gql`
      mutation joinLocation($userId: ID!, $locationMachine: String!) {
        joinLocation(userId: $userId, locationMachine: $locationMachine) {
          id
          location {
            id
            users {
              id
            }
          }
        }
      }
    `;
    But when they leave a location the query doesnt update:
    Copy code
    const LEAVE_LOCATION = gql`
      mutation leaveLocation($userId: ID!) {
        leaveLocation(userId: $userId) {
          id
          location {
            id
            users {
              id
            }
          }
        }
      }
    `;
    I think this is because the location field returns emptry so Apollo doesnt know that the number of users has changed. Is there an elegant solution to this? I could manually write to the store but I thoguth id check if there was a better way first.
    n
    • 2
    • 1
  • l

    lawjolla

    05/09/2018, 6:21 AM
    I'm having a tough time moving from 1.6 to 1.8. In particular,
    Copy code
    # prisma.yml
    # ...
    hooks:
      post-deploy:
        - echo "Deployment finished"
        - graphql get-schema --project prisma
        - graphql prepare
    with
    Copy code
    #. .graphqlconfig.yml
    #... 
      prisma:
        schemaPath: src/generated/prisma.graphql
        extensions:
          prisma: database/prisma.yml
          prepare-binding:
            output: src/generated/prisma.ts
            generator: prisma-ts
    does not generate a new schema at src/generated/prisma.graphql on
    prisma deploy
    . What am I missing?
    n
    • 2
    • 15
  • p

    pettanko

    05/09/2018, 7:38 AM
  • u

    user

    05/09/2018, 7:40 AM
    A file was commented on
  • h

    huv1k

    05/09/2018, 7:45 AM
    @pettanko use threads now pls
    p
    • 2
    • 2
  • j

    Jim

    05/09/2018, 7:56 AM
    How are people handling file uploads (in my case images)?
    t
    m
    n
    • 4
    • 3
  • t

    Tatsuyuki Ishi

    05/09/2018, 8:54 AM
    How do you handle multiple stages within one repository? I'd like to isolate the development database from production while using continuous delivery.
    h
    n
    • 3
    • 9
  • r

    rein

    05/09/2018, 9:23 AM
    if you have an Int as property on a type, is there a shorcut to auickly increment/decrement said number by a specfied amount?
    n
    • 2
    • 1
  • p

    pettanko

    05/09/2018, 9:37 AM
    Is something up with the EU server or am I just blocked from it?
    ✅ 1
    n
    h
    o
    • 4
    • 6
  • s

    Simskii

    05/09/2018, 11:06 AM
    How to i specify postgres connector to use SSL?
    n
    • 2
    • 1
  • m

    Moritz

    05/09/2018, 11:07 AM
    Hi, is anyone else experiencing prisma downtimes?
  • c

    carstenbaumhoegger

    05/09/2018, 11:10 AM
    I’m using the typescript advanced boilerplate which deploys to Prisma Cloud by default. To develop locally I edited my .env file to
    PRISMA_ENDPOINT="<http://localhost:4466/backend/dev>"
    . When I run
    prisma deploy
    now the above error is shown. Does anyone else experience this behavior? I’m using Prisma 1.8
    local_deployment_fails.txt
    ✅ 1
  • m

    Moritz

    05/09/2018, 11:10 AM
    Im getting a lot of these at the moment:
    Copy code
    [GraphQL error]: Message: Project not found: 'moritz~xxx@alpha', Location: undefined, Path: undefined
    
    05/09 01:09 PM (10s)
    
    [Network error]: Error: Project not found: 'moritz~xxx@alpha'
    
    05/09 01:09 PM (10s)
    
    Error: Project not found: 'moritz~xxx@alpha'
    Are there currently known prisma issues?
    ✅ 1
    c
    p
    n
    • 4
    • 4
  • n

    nilan

    05/09/2018, 11:12 AM
    @carstenbaumhoegger can you share
    docker ps
    ?
    c
    • 2
    • 31
  • w

    woss

    05/09/2018, 12:04 PM
    hi guys, how do i deploy to app.prisma.sh? im having hard time getting all the changes between 1.6 and 1.8. i have my app on local, upgraded from 1.6 now i would like to put it online (prisma.sh or lambda/aws) and i don’t get the flow. any help would be welcome
    n
    • 2
    • 2
  • k

    Kimo

    05/09/2018, 12:20 PM
    Not sure if this is a bug but running
    graphcool playground
    shows this error. I just clicked 'OK' and moved on to write my queries...
    ❤️ 1
  • v

    Vendicto

    05/09/2018, 12:25 PM
    Hi there, is graphcool support HEIC format ?
  • n

    nilan

    05/09/2018, 12:25 PM
    @Kimo, yes this looks like a bug, could you report it here: https://github.com/graphcool/graphql-playground/issues? 🙂
    👍 1
  • d

    Dave

    05/09/2018, 12:38 PM
    is there a ElasticSearch connector alpha/beta that I can try out?
    n
    • 2
    • 1
  • i

    idkjsx

    05/09/2018, 1:58 PM
    hey folks. Im trying to get my head aroudn something. Is it possible to take some thing like one of the [boilerplates](https://github.com/graphql-boilerplates) and wrap it up ntirely in a docker container send it up to the cloud an run it? I'm missing something so feel free to dumb it down as much as you want. Thank you.
  • i

    idkjsx

    05/09/2018, 2:01 PM
    I'm feeling like I need to have an image for the server, and image for the ui...
  • i

    idkjsx

    05/09/2018, 2:05 PM
    Is this the same question? https://www.prisma.io/forum/t/prisma-server-as-docker-container/3329
  • i

    idkjsx

    05/09/2018, 2:07 PM
    Does not seem to have been answered there. Any anyone have this figured out? Thanks.
    k
    • 2
    • 2
  • p

    pettanko

    05/09/2018, 2:16 PM
    Any good resources for making resolvers and good understanding of yoga/prisma?
    k
    n
    • 3
    • 3
1...232425...637Latest