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

    stevefan1999

    05/14/2018, 7:07 AM
    greetings
  • s

    stevefan1999

    05/14/2018, 7:09 AM
    I wonder how do you guys share your gql schema between client and server?
    n
    • 2
    • 1
  • s

    stevefan1999

    05/14/2018, 7:09 AM
    PS: I'm working the tutorial on howtographql
  • m

    Mellson

    05/14/2018, 8:54 AM
    Is there any benefit in choosing Postgres over MySQL for a new hosted Prisma Cloud setup?
    👍 2
    l
    n
    • 3
    • 5
  • s

    stevefan1999

    05/14/2018, 9:01 AM
    I have another question as well
  • s

    stevefan1999

    05/14/2018, 9:01 AM
    How do I reuse resolvers?
  • s

    stevefan1999

    05/14/2018, 9:02 AM
    And how do I deal with nested/recursive structures?
  • s

    stevefan1999

    05/14/2018, 9:02 AM
    I have a comment type that have a sub-comment field
  • s

    stevefan1999

    05/14/2018, 9:02 AM
    To get all comments, it would require me to call the resolver again until I met an empty array
  • s

    stevefan1999

    05/14/2018, 9:04 AM
    My workaround is to re-query again and again according to each comment
  • s

    stevefan1999

    05/14/2018, 9:08 AM
    but it is somewhat inefficient, although it is kind of like iterative
  • s

    stevefan1999

    05/14/2018, 9:10 AM
    https://github.com/facebook/graphql/issues/91#issuecomment-254895093
  • s

    stevefan1999

    05/14/2018, 9:10 AM
    hmm...
    n
    • 2
    • 1
  • h

    horia.ancas

    05/14/2018, 9:20 AM
    the decision to make
    prisma deploy
    explicit using
    docker-compose.yml
    is brilliant. Before I was asking left and right about how to setup a cluster and now I just copy the generated
    docker-compose
    file. Thanks guys, you’re seriously awesome!
    n
    • 2
    • 1
  • s

    stevefan1999

    05/14/2018, 9:23 AM
    still, graphql doesn't allow self spreading...🤔
  • s

    stevefan1999

    05/14/2018, 9:23 AM
    If that's the case, it would be much easier
  • s

    stevefan1999

    05/14/2018, 9:24 AM
    Right now I have to duplicate multiple levels...
    n
    • 2
    • 1
  • m

    Mike

    05/14/2018, 9:33 AM
    is there anyone else having problem issuing
    graphcool deploy
    at the moment?
    n
    • 2
    • 1
  • m

    Mike

    05/14/2018, 9:34 AM
    I'm getting "Global: For input string: "null"" error back 😛
  • m

    Mike

    05/14/2018, 9:34 AM
    for a version of the service definition that I know worked last week 😛
  • k

    kitze

    05/14/2018, 9:46 AM
    I'm getting an infinite loading spinner when trying to login with github in the prisma console. I have tried cleaning the cache, logging in from another browser, etc. but it doesn't work. Is there anything that I can do?
    n
    • 2
    • 1
  • j

    Jim

    05/14/2018, 10:51 AM
    Im trying to deploy my cluster to Digital Ocean following the tutorial https://www.prisma.io/docs/tutorials/cluster-deployment/digital-ocean-(docker-machine)-texoo9aemu/ However at step 15 I have different options. Does anyone know what I should choose?
    Copy code
    $ prisma init hello-world
    ? Set up a new Prisma server or deploy to an existing server?
    
      Set up a new Prisma server for local development (based on docker-compose):
      Use existing database      Connect to existing database
      Create new database        Set up a local database using Docker
    
      Or deploy to an existing Prisma server:
    ❯ Demo server                Hosted demo environment incl. database (requires login
      Use other server           Manually provide endpoint of a running Prisma server
  • u

    user

    05/14/2018, 10:55 AM
    A file was commented on
  • f

    Fitch

    05/14/2018, 3:09 PM
    Use other server, and provide your droplet as the endpoint
  • e

    eliezedeck

    05/14/2018, 5:42 PM
    Hey everyone, is there a way/guide to serve an app made with Prisma on a Raspberry Pi-like devices? Actually, my device is Orange Pi+ 2E (also an ARM processor). I'd like to bring with me a small app so that the members of my small church community could use it, without having to run it on a laptop/PC/from the internet.
    n
    • 2
    • 11
  • k

    KATT

    05/14/2018, 11:08 PM
    Having problems with my travis finding the local cluster on
    deploy
    when updating to 1.8
    • 1
    • 2
  • t

    Tatsuyuki Ishi

    05/15/2018, 1:23 AM
    How would you expose all the ordering types? Copy-paste?
  • j

    Jonathan

    05/15/2018, 2:52 AM
    Is there anyone that could help walk me through how to get Google OAuth setup with graphcool?
  • d

    danielrasmuson

    05/15/2018, 2:54 AM
    How are IDs being generated by prisma? I'm noticing the tables are not
    AUTO_INCREMENT
    Copy code
    mysql> describe DataRow;
    +------------+------------+------+-----+-------------------+-----------------------------+
    | Field      | Type       | Null | Key | Default           | Extra                       |
    +------------+------------+------+-----+-------------------+-----------------------------+
    | id         | char(25)   | NO   | PRI | NULL              |                             |
    | createdAt  | datetime   | NO   |     | CURRENT_TIMESTAMP |                             |
    | updatedAt  | datetime   | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
    | externalId | mediumtext | YES  |     | NULL              |                             |
    | rowData    | mediumtext | NO   |     | NULL              |                             |
    +------------+------------+------+-----+-------------------+-----------------------------+
    5 rows in set (0.00 sec)
    k
    • 2
    • 4
  • j

    Jim

    05/15/2018, 4:37 AM
    Ive got a mutation which works when the fields arn’t required. Im providing values for these fields, however when I make them required I get a 400 network error from Apollo. Is this a bug? https://www.prisma.io/forum/t/mutation-errors-when-i-make-fields-required-even-though-i-am-providing-them/3488
1...293031...637Latest