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

    pedro

    10/25/2018, 3:39 AM
    Hi Guys I’m deploying a project on DO and I’m having a strange issue where my docker image is up, but when I deploy, it says make sure the server is up
    ✔️ 1
    • 1
    • 2
  • s

    skainswo

    10/25/2018, 4:07 AM
    A lot of example code (eg https://github.com/prisma/prisma-examples/blob/master/typescript-graphql-auth/src/resolvers/Mutation.ts) shows code like
    await prisma.createUser(...)
    but these functions are not typed (in the TypeScript client) as returning `Promise`s. What’s up with that? Are they actually `Promise`s or not?
  • s

    skainswo

    10/25/2018, 4:58 AM
    ok well i’ve learned the hard way now that these are in fact `Promise`s. Should this be a bug report?
    n
    • 2
    • 3
  • c

    CCBCodeMonkey

    10/25/2018, 5:58 AM
    hey, I am trying to run prisma on ECS on AWS, using the fargate configs
  • c

    CCBCodeMonkey

    10/25/2018, 5:58 AM
    and its up, but constantly goes down for seemingly no reason
  • c

    CCBCodeMonkey

    10/25/2018, 5:59 AM
    and will be unresponsive for like a minute-ish
  • c

    CCBCodeMonkey

    10/25/2018, 5:59 AM
    then come back, work for a while, be fast, then go down
  • c

    CCBCodeMonkey

    10/25/2018, 5:59 AM
    I don't see anything in the logs about it even going down, really frustrating
  • c

    CCBCodeMonkey

    10/25/2018, 5:59 AM
    my graphql-yoga server just basically hangs and times out trying to connect to it
  • c

    CCBCodeMonkey

    10/25/2018, 6:28 AM
    I even just created a new test instance through prisma cloud and saw the same thing happen..
    n
    • 2
    • 4
  • y

    yolen

    10/25/2018, 8:15 AM
    anyone have had problems with errors in line with `GraphQL: Syntax] Syntax Error: Unterminated string.`in the schema.graphql file? They suddenly randomly appear in my very simple project. Could be related to graphql and/or graphql-cli versions?
    n
    • 2
    • 2
  • m

    MojoJojo

    10/25/2018, 8:46 AM
    If I have a url like http://mystuff.xyz/stuff/${id}, can I query multiple id's in one request or do I have to do a request per id?
    n
    a
    • 3
    • 21
  • y

    yolen

    10/25/2018, 8:56 AM
    With these dependencies
    Copy code
    "dependencies": {
        "graphql-yoga": "^1.16.7",
        "prisma-client-lib": "^1.19.0"
      },
      "devDependencies": {
        "graphqlgen": "^0.2.12",
        "prisma": "^1.19.0",
        "ts-node": "^7.0.1",
        "typescript": "^3.1.3"
    I get this error when starting my yoga server :
    Copy code
    src/generated/prisma-client/index.ts(6,28): error TS2307: Cannot find module 'graphql-tools/dist/Interfaces'.
    . Should I add graphql-tools manually?
  • c

    Chris Miles

    10/25/2018, 9:15 AM
    Hi there, are there any known issues with graphcool caching resolver responses? Seeing some strange behaviour between requests where the resolver is not consistently returning the same data
  • n

    nbjooqla

    10/25/2018, 10:02 AM
    hello , anyone can help with graphql-yoga? how to handle errors? if i do throw 'error' nothing is logged why?
  • c

    CHaBou

    10/25/2018, 10:14 AM
    Are there some issues with prisma cloud deployment (prisma-eu1) ? quite impossible to
    prisma deploy
    or to access databrowser.
  • l

    lucas

    10/25/2018, 10:55 AM
    yes @CHaBou chabou i think there are issues
  • l

    lucas

    10/25/2018, 10:55 AM
    i cant deploy anything
  • c

    CHaBou

    10/25/2018, 10:55 AM
    Thank you for your confirmation 🙏
  • l

    lucas

    10/25/2018, 10:56 AM
    @CHaBou get this error ===> ERROR: Whoops. Looks like an internal server error. Search your server logs for request ID: eu1managementcjnogyia020ue0b84xosnsnjo on each project with prisma-eu1
    👍 2
  • d

    divyendu

    10/25/2018, 11:46 AM
    We are aware of some issues on the EU demo server! I will notify here once they are resolved. Please reach out to
    <mailto:support@prisma.io|support@prisma.io>
    for outages for a prompt response.
    👍 2
  • b

    borisgefter

    10/25/2018, 12:42 PM
    Guys anyone else getting huge response times from Prisma?
  • d

    dane.stevens

    10/25/2018, 1:09 PM
    Looking for some help here. I'm using prisma-binding and trying to build nested resolvers:
  • d

    dane.stevens

    10/25/2018, 1:10 PM
    -.txt
  • d

    dane.stevens

    10/25/2018, 1:10 PM
    -.php
  • d

    dane.stevens

    10/25/2018, 1:13 PM
    I have two types: Account and User Account owns [User] on relation: "Members" Account owns User on relation: "AccountOwner" I am trying to build resolvers for querying: { accounts { id members { id email } accountOwner { id email } } }
    e
    • 2
    • 20
  • d

    dane.stevens

    10/25/2018, 1:14 PM
    The members resolver works fine, although it seems redundant to have to query the users where id: account.id
  • l

    lucas

    10/25/2018, 1:29 PM
    hi everyone i have one really weird issue this error here but i've never used profilImage as field, i checked all my schema datamodel and it's actually profilPic
    n
    • 2
    • 4
  • d

    divyendu

    10/25/2018, 2:21 PM
    This is resolved now.
    🙏 3
  • m

    MojoJojo

    10/25/2018, 3:38 PM
    Copy code
    {
      stockitem(id: "AAH3321") {
        features(where: {
        standard: true
        }) {
          description
          standard
        }
      }
    }
1...140141142...637Latest