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

    lawjolla

    07/09/2018, 3:45 PM
    Silly question because I'm new to Heroku and Docker. What command(s) do I need to upgrade my Prisma container? Or do I change my docker-compose.yml and
    prisma deploy
    ?
    a
    • 2
    • 2
  • k

    Kalmuraee

    07/09/2018, 5:39 PM
    https://www.prisma.io/forum/t/passing-list-of-ids-in-mutation/3935 fast parrot
    ✅ 1
  • r

    rwatts3

    07/09/2018, 10:28 PM
    Hello everyone are there any examples or docs on making geospatial queries, I know it was on the road map but unsure as to how far along it is at the moment ..
    👍 1
    n
    c
    • 3
    • 6
  • r

    rwatts3

    07/09/2018, 10:28 PM
    thank you
  • a

    aroman

    07/09/2018, 10:55 PM
    Hey community 🙂 So I have a couple simple and probably dumb quick question. In my project I have two
    docker-compose.yml
    files (both slightly different). One in my root directory and one in my database directory. Are the 2 absolutely necessary? Which one takes precedence? My assumption was that they have different connections, one to the front-end and one to the database, and hence both are needed
    n
    • 2
    • 6
  • s

    sunrising

    07/09/2018, 11:47 PM
    Hi, in a graphcool-framework project how can i use a different prod environment set of variables? i can make a
    .env
    and a
    .env-dev
    but then how can i switch between the two? what do i have to write in the yml?
    k
    • 2
    • 1
  • j

    johhansantana

    07/10/2018, 1:58 AM
    looking for tips on how to deal with nested mutations/queries https://www.prisma.io/forum/t/tips-on-how-to-limit-nested-mutation-loop/3939
  • m

    michael.graham

    07/10/2018, 2:03 AM
    Hey there! Is there anyone working on a Neo4j connector yet? I'd love to chat with any folks working on it~
    s
    • 2
    • 1
  • p

    playra

    07/10/2018, 9:22 AM
    help please https://www.prisma.io/forum/t/cannot-destructure-property-facebookuserid-of-undefined-or-null/3937
    👌 1
  • n

    Nick

    07/10/2018, 9:49 AM
    Made an issue on file-upload if someone wants to tackle! https://github.com/prismagraphql/graphql-yoga/issues/392 The current example looks like this https://github.com/prismagraphql/graphql-yoga/blob/master/examples/file-upload/index.ts It's not beginner friendly code at all, the other thing it's not using the eco-system(prisma database schema and prisma bindings).
    🙏 1
    h
    • 2
    • 11
  • p

    playra

    07/10/2018, 9:52 AM
    I did the uploading of images on this tutorial:

    https://www.youtube.com/watch?v=d1nw3QdLv8w&list=PLN3n1USn4xlmqhVdKMurNREwtiUpq-SFy&index=8▾

    👍 1
    n
    • 2
    • 1
  • g

    Grant

    07/10/2018, 1:03 PM
    I’m having a problem trying to query over relations, e.g.
    Copy code
    const item = await ctx.db.query.item({
       where: { product: { id: productId } }
    });
    I get the error
    Reason: 'product' Field 'product' is not defined in the input type 'ItemWhereUniqueInput'.
    Is there some way to have relations included in
    ItemWhereUniqueInput
    ? This currently looks like:
    Copy code
    type ItemWhereUniqueInput {
      id: ID
    }
    m
    n
    • 3
    • 19
  • j

    jay.araujo

    07/10/2018, 2:09 PM
    Hello, I asked this a while ago and did not got an answer
  • j

    jay.araujo

    07/10/2018, 2:09 PM
    can I develop on prisma cloud without local docker support?
  • j

    jay.araujo

    07/10/2018, 2:09 PM
    the mac I’m using right now doesnt support docker
    j
    l
    • 3
    • 3
  • j

    Jim

    07/10/2018, 2:31 PM
    Ive added a secret to my Prisma service. I know I need to add a JWT token to any request to it (ive already generated the token), but how do I attach to requests sent from my node server?:
    Copy code
    const server = new GraphQLServer({
      typeDefs: './src/schema.graphql',
      resolvers,
      context: req => ({
        ...req,
        db: new Prisma({
          typeDefs: 'src/generated/prisma.graphql', // the auto-generated GraphQL schema of the Prisma API
          endpoint: process.env.PRISMA_ENDPOINT, // the endpoint of the Prisma API (value set in `.env`)
          debug: true, // log all GraphQL queries & mutations sent to the Prisma API
          // secret: process.env.PRISMA_SECRET, // only needed if specified in `database/prisma.yml` (value set in `.env`)
        }),
      }),
    });
    n
    • 2
    • 2
  • p

    prolink007

    07/10/2018, 2:56 PM
    I am unable to get nested objects back from queries using prisma-bindings. Here is a link to the forum post, can someone please assist me? I posted the details in the forum, because i thought it would be easier to read. Thanks! 😅
    r
    • 2
    • 5
  • p

    prolink007

    07/10/2018, 2:56 PM
    https://www.prisma.io/forum/t/prisma-binding-getting-nested-objects-from-query/3951
  • g

    Garrett Thompson

    07/10/2018, 4:45 PM
    Is there a way to have my Prisma service log out the generated SQL? I'm having queries returning null when they should be returning data and I'm trying to troubleshoot this
    n
    • 2
    • 2
  • j

    JasCodes

    07/10/2018, 5:10 PM
    hey is thr CRUD interface UI
  • j

    JasCodes

    07/10/2018, 5:10 PM
    like prisma cloud
  • j

    JasCodes

    07/10/2018, 5:11 PM
    for admin ui for data basically
  • p

    playra

    07/10/2018, 8:49 PM
    How in this example to make userUpdate? https://github.com/graphql-boilerplates/node-graphql-server
  • j

    James Bradly

    07/10/2018, 11:45 PM
    Hello Good morning guys, I’d just like to bump this problem of mine. I can’t use Prisma in my Windows 10 Home because Docker Toolbox isn’t working. I tried doing this in a Mac desktop and it works but I want it in my own windows computer to work. Here’s the thread for more details: https://www.prisma.io/forum/t/prisma-cannot-prisma-deploy-on-docker-toolbox/3815 I hope someone can help because it’ll really fasten my setup. Thanks!
  • t

    Teri

    07/11/2018, 2:42 AM
    Anyone know if Graphcool's API is down?
    n
    • 2
    • 2
  • c

    chameleon

    07/11/2018, 2:45 AM
    It is for me
    n
    • 2
    • 2
  • p

    pascallaliberte

    07/11/2018, 2:45 AM
    @Teri Getting the same problems. Console seems to work, api access from app isn't
    n
    • 2
    • 2
  • c

    chameleon

    07/11/2018, 2:46 AM
    How do you get graph.cool support? Does such a thing exist?
  • c

    chameleon

    07/11/2018, 2:46 AM
    Try the playground. My queries fail there
  • c

    chameleon

    07/11/2018, 2:46 AM
    also
1...767778...637Latest