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

    cory

    08/20/2018, 7:47 PM
    If I go ahead and say “Well, that doesn’t exist” and try to create a new db via Heroku, then I get this error:
    GraphQL error: Either that heroku account doesn't exist or it's not part of this workspace
  • c

    cory

    08/20/2018, 7:47 PM
    Then it just keeps the loading animation going forever.
    n
    • 2
    • 3
  • c

    cory

    08/20/2018, 7:58 PM
    prisma init
    with the demo server worked nicely… Where can I throw money at this problem so I can work? 😩
  • i

    illuday

    08/20/2018, 8:15 PM
    Hi, is there some tutoriels to put in production the graphql-boilerplates/node-graphql-server with docker ?
  • d

    Dalia

    08/20/2018, 8:19 PM
    Hi, does anyone knows how to set the stage or the Prisma service from an environment variable? I'm trying to do it but it appears the url doesn't resolve a string 😞
  • s

    suitemike

    08/20/2018, 8:20 PM
    do you accept bitcoin ?
    d
    • 2
    • 1
  • d

    Dalia

    08/20/2018, 8:20 PM
    This is the error
    Trying to populate non string value into a string for variable ${env:PRISMA_STAGE}. Please make sure the value of the property is a string.
  • d

    Dalia

    08/20/2018, 8:21 PM
    And this is the definition on the
    .env
    file, btw don't have any problem with numeric variables
  • s

    stalbert

    08/20/2018, 8:22 PM
    fortunately, they (mostly) fixed that hack in SS2
    d
    l
    c
    • 4
    • 7
  • a

    alechp

    08/20/2018, 10:41 PM
    Any tips on how to prevent seeding duplicate data on docker-compose ?
    n
    • 2
    • 7
  • a

    Alejandro Poggi

    08/20/2018, 10:50 PM
    Does anyone have success with docker-composing their Prisma and sql services on a pre-built Circle CI docker image and deploying to that local Prisma service? The host container can’t seem to connect to the Prisma container. I can’t even access the exposed port on the Prisma container via its IP address from the host container.
    a
    • 2
    • 7
  • m

    mtliendo

    08/20/2018, 11:24 PM
    I know you all are working hard on this and I REALLY appreciate all you bring to the community. I was just wondering if this is still slated for this month? https://github.com/prisma/prisma/issues/1643#issuecomment-404688806
    • 1
    • 1
  • h

    hw

    08/21/2018, 1:56 AM
    I_don_t_know_how_to_better_deal_with_info_in_resolver_Can_someone_help_me.js
    e
    • 2
    • 2
  • c

    cory

    08/21/2018, 2:25 AM
    Can I somehow declare I want all my types to have an ID and created/updatedAt available?
    n
    • 2
    • 3
  • c

    cory

    08/21/2018, 2:26 AM
    (instead of declaring those fields in every model)
  • c

    cory

    08/21/2018, 2:26 AM
    (like… a global model that every other model inherits from? 🙂 )
  • z

    zak.singh

    08/21/2018, 2:59 AM
    I've suddenly started receiving
    ERROR: Authentication token is invalid: Token can't be decoded: Invalid signature for this token or wrong algorithm.
    when I run prisma deploy. What could cause this?
  • c

    cory

    08/21/2018, 3:16 AM
    try
    $ prisma login
  • z

    zak.singh

    08/21/2018, 3:28 AM
    So this happens once I add my prisma fargate server to prisma cloud
  • z

    zak.singh

    08/21/2018, 3:29 AM
    as soon as I do that, I can no longer run prisma deploy...
    prisma login
    doesn't change anything
  • c

    cory

    08/21/2018, 3:31 AM
    prisma token
    ? ¯\_(ツ)_/¯
  • z

    zak.singh

    08/21/2018, 3:33 AM
    I don't have a secret set
  • z

    zak.singh

    08/21/2018, 3:34 AM
    as soon as I delete the server from Prisma cloud, I can run
    prisma deploy
    again... very strange
    n
    • 2
    • 1
  • l

    leomeloxp

    08/21/2018, 5:51 AM
    Hi, I'm following the tutorial using Typescript and am getting a type error when running `prisma.query.users({}, '{ id name }'`:
    Copy code
    Argument of type '"{ id name }"' is not assignable to parameter of type '{ [key: string]: any; }'
  • l

    leomeloxp

    08/21/2018, 5:52 AM
    prisma.query
    is of type
    QueryMap
    .
    prisma.query.users
    has the following signature:
    Copy code
    (args?: {
        [key: string]: any;
    }, context?: {
        [key: string]: any;
    }, info?: string | GraphQLResolveInfo) => Promise<any>
    e
    • 2
    • 3
  • m

    Moritz

    08/21/2018, 8:46 AM
    Hi all, just started working on a prisma data provider for react-admin here: https://github.com/moritzmorgenroth/ra-data-prisma Would be glad for any contributions & feedback! Right now its still bumpy but Im confident we will get it stable in the next few days! If anyone is working on something similar please ping me so we dont do work twice 🙂
    👌 2
    v
    • 2
    • 2
  • l

    Luke

    08/21/2018, 9:14 AM
    Where/How does prisma create the resolvers for the queries?
    n
    • 2
    • 4
  • h

    horia.ancas

    08/21/2018, 1:01 PM
    hey guys, if I have
    Copy code
    type User {
      name: String!
      locations: [String!]!
    }
    How would the createUser mutation look like?
  • h

    horia.ancas

    08/21/2018, 1:03 PM
    does locations have to be an array of
    [Location!]!
    ?
  • m

    Martin

    08/21/2018, 1:15 PM
    Hey everybody! I need to be using graphql-request behind a proxy, and I'm having problems. Can anyone help me?
1...102103104...637Latest