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

    jdoyle112

    10/02/2018, 2:06 PM
    Hey I’m building a prisma server and have a quick question. In the schema.graphql file, why do I need to define my types again? And why are only certain types defined while others aren’t?
  • j

    jdoyle112

    10/02/2018, 2:07 PM
    For example, check out this file from one of the boilerplates https://github.com/graphql-boilerplates/node-graphql-server/blob/master/advanced/src/schema.graphql
  • m

    matus.congrady

    10/02/2018, 2:07 PM
    Hey, is there a way to set createdAt/updatedAt fields? If no, what's the best workoaround?
    n
    • 2
    • 1
  • j

    jdoyle112

    10/02/2018, 2:07 PM
    User and AuthPayload types are defined but Post is not
  • j

    JSNinja

    10/02/2018, 2:08 PM
    can i use on the client side apollo?
  • j

    jdoyle112

    10/02/2018, 2:23 PM
    I believe so @JSNinja
    👍 1
  • v

    Vinnie

    10/02/2018, 2:32 PM
    Any good tutorial showing how to deploy Prisma on Kubernetes Engine on GCP?
    n
    • 2
    • 3
  • j

    jdoyle112

    10/02/2018, 3:09 PM
    Is an average response time of 700ms unusual for a query to a prisma server on heroku where I’m querying by the id and there are only 2 records for that type in the db?
  • b

    brikou

    10/02/2018, 3:37 PM
    postgraphile v4 is out, ...Prisma used to compare to it on homepage (saying it was faster), what about the benchmark now?
  • b

    brikou

    10/02/2018, 3:39 PM
    https://medium.com/@Benjie/postgraphile-v4-released-9dcb117d3e69
    👍 1
    m
    • 2
    • 1
  • s

    Slackbot

    10/02/2018, 3:49 PM
    This message was deleted.
    n
    r
    • 3
    • 2
  • r

    rpeterson

    10/02/2018, 3:53 PM
    okay, getting Internal Error on trying to deploy a service and don’t have access to cloud logs. 🙂
  • r

    rpeterson

    10/02/2018, 3:53 PM
    Wrote message on Intercomm.
  • z

    zonofthor

    10/02/2018, 4:58 PM
    What do you do when a resolver requires fields to return calculated/derived fields, eg. we want
    BlogPosts {id, title, countedComments}
    so that client query has to specify
    getBlogPosts(...) { id, title, comments }
    is there a way to add the comments field to the info in
    Copy code
    export const getBlogPosts = async (_, args, ctx, info) => { ...resolver code... }
    or is there a better way to do this?
    n
    • 2
    • 1
  • u

    uufish

    10/02/2018, 5:00 PM
    How can I develop upcoming connectors? https://github.com/prisma/prisma#upcoming-connectors
    d
    v
    • 3
    • 3
  • k

    kaqqao

    10/02/2018, 7:36 PM
    Hey everyone 🤗 Can anyone help me figure out how to set endpoint url when using the minimal GraphQL Playground page? (The one here: https://github.com/prisma/graphql-playground/blob/master/packages/graphql-playground-html/minimal.html)
    g
    • 2
    • 2
  • y

    yagiz

    10/02/2018, 7:49 PM
    @jdoyle112 do you still have response time issues with prisma? i've had some similar issues 200-250ms for a query that should take at most 30ms.
    j
    • 2
    • 6
  • j

    Jidé

    10/02/2018, 8:10 PM
    Wow, I’m struggling with graphql-cli and react boilerplates so much. Are these really maintained along with prisma ?
  • m

    michal.tomsia

    10/02/2018, 8:27 PM
    Is there a way to inject something into
    info
    object? I have to be sure that some field will be present on returned object even if client doesn't request it.
    z
    f
    n
    • 4
    • 3
  • j

    Jidé

    10/02/2018, 8:35 PM
    in particular, i’m getting this issue although I don’t use docker but a prisma sandbox https://github.com/prisma/prisma/issues/2395
  • j

    Jidé

    10/02/2018, 8:44 PM
    😱 Okay it’s based on v1.7 of prisma. Although it seems deps are automatically updated using a bot on the git repo. Would have loved to se a deprecated notice in this project. https://github.com/graphql-boilerplates/react-fullstack-graphql
  • u

    uufish

    10/02/2018, 8:49 PM
    Can I use my own generator in prisma.yml like this?
    Copy code
    generate:
      - generator: my-generator
        output: ./generated/my-client
  • r

    rafaelangical

    10/02/2018, 9:10 PM
    Hello, good night. i'am receiving one error on make a mutation in one app React Native, but in react web this don't show
  • r

    rafaelangical

    10/02/2018, 9:11 PM
  • a

    Asa Rudick

    10/03/2018, 1:02 AM
    Working on a hackathon project involving prisma-client-lib, and I did not see a repo for it, so I'm posting an issue here.
    Copy code
    // in an eval, to let bundlers not slurp in a util proxy
    
      var utilInspect = eval("require('util').inspect");
    ...is causing an issue in the browser.
    n
    • 2
    • 1
  • a

    Asa Rudick

    10/03/2018, 1:03 AM
    This exists within prettier, a dependency of prisma-client-lib. Can we move prettier to devDependencies?
  • m

    Max Hodges

    10/03/2018, 8:01 AM
    urgent: how do I search in app.prisma.io?
  • m

    Max Hodges

    10/03/2018, 8:02 AM
    there is a “search for field”
  • m

    Max Hodges

    10/03/2018, 8:02 AM
    i put in an id
    cjmssgn5l17cf0950wdgzycse
    but no results
  • m

    Max Hodges

    10/03/2018, 8:02 AM
    so I need some syntax like id=cjmssgn5l17cf0950wdgzycse or {‘id’=‘cjmssgn5l17cf0950wdgzycse’} or what?
1...129130131...637Latest