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

    Khoa Huynh

    07/13/2018, 6:27 AM
    hi guys, how can we use Json in prisma type?
    a
    • 2
    • 1
  • k

    Khoa Huynh

    07/13/2018, 7:53 AM
    how can we pass an arbitrary object into mutation?
  • s

    siyfion

    07/13/2018, 8:19 AM
    Guys, can we have a quick discussion about the status of multi-field unique constraints? It’s really hurting my current project as I’m having to use multiple read & writes to do a simple upsert operation. All because the upsert mutation won’t let me do a where on a combination of two fields I know are unique, but it doesn’t!
  • k

    Khoa Huynh

    07/13/2018, 8:44 AM
    guys do we have object value type in schema?
    n
    • 2
    • 1
  • s

    sunrising

    07/13/2018, 10:37 AM
    Does anybody know how to generate a pat
    PERMANENT AUTH TOKEN
    from graphcool cli?
  • p

    panzupa

    07/13/2018, 10:54 AM
    I'm using graphcool and I have subscription functions. This function has been triggered, executed sucessfully and I don't see any logs. What could be a problem?
    p
    d
    +2
    • 5
    • 11
  • e

    eelke

    07/13/2018, 5:34 PM
    getting error in app.prisma.io when I use the search in the Data browser. Unfortunately, it seems there's no #bug channel, so I'll post it here:
    Copy code
    GraphcoolSchema.ts:178 Uncaught (in promise) Error: {
      "message": "Whoops. Looks like an internal server error. Search your server logs for request ID: local:api:cjjk94hme009b0980isa15jzc",
      "path": [
        "subscribers"
      ],
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "requestId": "local:api:cjjk94hme009b0980isa15jzc"
    }
        at e.<anonymous> (GraphcoolSchema.ts:178)
        at r (main.81b5051b.js:145491)
        at Object.next (main.81b5051b.js:145472)
        at a (main.81b5051b.js:145463)
    n
    • 2
    • 1
  • t

    Timo

    07/13/2018, 6:39 PM
    Copy code
    thisArg(BatchedGraphQLClient.js)--> BatchedGraphQLClient {
      load: [Function],
      uri: 'http://*****************************.<http://us-east-1.elb.amazonaws.com/*****/dev|us-east-1.elb.amazonaws.com/*****/dev>',
      options:
       { headers:
          { Authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1MzE1MDY2MDl9.LdvJCvk5fnQSJvRH6fuYwONfORw9VMXtwIVQ0JEIK4Q' } },
      dataloader:
       DataLoader {
         _batchLoadFn: [Function],
         _options: { cache: false },
         _promiseCache: Map {},
         _queue: [] } } <--thisArg
    where do you get this Authorization header from? it seems to be set somewhere...
    b
    • 2
    • 3
  • b

    bazaglia

    07/13/2018, 7:37 PM
    hey guys! is there a way to make multiple field queries in a single request with graphql-binding?
  • b

    bazaglia

    07/13/2018, 7:58 PM
    background information: I wish to implement dataloader to an external service call (done with graphql-binding). So it's interesting that, in the dataloader, the batch loader function returns a single call to fetch all my queries at once.
    b
    • 2
    • 1
  • n

    Nick

    07/13/2018, 9:21 PM
    Guys I need help with this issue https://github.com/howtographql/howtographql/issues/712 I have problem with the signup mutation the error I'm getting back is that my token is invalid. I have mostly copied straight out the tutorial I have no idea what causing this.
    ✅ 1
    • 1
    • 1
  • s

    sortiz

    07/13/2018, 10:20 PM
    I was trying to use prisma at my corp, I created a db called prisma and a db called prisma@prod, and it the container explode saying: Can't create database 'prisma@prod'; database exists","query"
  • s

    sortiz

    07/13/2018, 10:21 PM
    but logically I can not give it creation access in my prod db cluster
  • s

    sortiz

    07/13/2018, 10:21 PM
    is there any way of allowing it to use this prisma@prod db?
  • s

    sortiz

    07/13/2018, 10:21 PM
    has this use case being considered already?
  • s

    sortiz

    07/13/2018, 10:23 PM
    and why I don't just make another container running mysql without user restrictions? because I already have a db cluster with replication running all the dbs and also I have client constraints over security layers that take a lot to set up to start making that all over again in a mysql container.
  • g

    Gabril

    07/14/2018, 1:14 AM
    How are you. I am newbie to graphql and hope to learn much. Please help me alot. Thanks
  • r

    raul

    07/14/2018, 1:22 AM
    Hi guys, when run
    prisma seed
    is possible create multiple mutation?
    n
    • 2
    • 1
  • g

    Gabril

    07/14/2018, 3:19 AM
    Please help this problem
  • g

    Gabril

    07/14/2018, 3:19 AM
    https://stackoverflow.com/questions/51334907/prisma-deploy-docker-error-could-not-connect-to-server
  • h

    harrisrobin

    07/14/2018, 1:20 PM
    Hello, so this is my third attempt at trying to update my dependencies (prisma, prisma-bindings etc). Going at it one by one but it's been a little frustrating
  • h

    harrisrobin

    07/14/2018, 1:20 PM
    first of all, i was on
    prisma-binding
    1.5.0 and i could do the following just fine:
  • h

    harrisrobin

    07/14/2018, 1:20 PM
    Copy code
    rooms: forwardTo("db"),
  • h

    harrisrobin

    07/14/2018, 1:20 PM
    i upgraded to 2.1.0 and now it does not work, i get the following:
    Copy code
    "message": "Cannot convert undefined or null to object",
  • h

    harrisrobin

    07/14/2018, 1:21 PM
    also i noticed that in the graphql-server example, any use of forwardTo has been removed leaving me with no where to look for a working example
  • h

    harrisrobin

    07/14/2018, 1:21 PM
    would have been great to leave at least one
  • h

    harrisrobin

    07/14/2018, 1:21 PM
    considering that repo serves as an example
  • n

    nilan

    07/14/2018, 1:21 PM
    Hey @harrisrobin let's discuss this in a thread 🙂
    h
    • 2
    • 9
  • h

    harrisrobin

    07/14/2018, 1:21 PM
    sounds good thanks 👍
  • r

    Robert

    07/14/2018, 1:44 PM
    ~Hey guys, I know I'm not supposed to get technical support here, but I have an issue and I'm not surewhere the problem comes from (Prisma, Netlify or Lambda, or myself of course). ~ I get this error:
    Function invocation failed: Error: Cannot find module "."
    when trying to import Prisma bindings into this example: https://github.com/prismagraphql/graphql-yoga/tree/master/examples/lambda-netlify (Yes, I have it installed :p). Like so:
    const { Prisma } = require('prisma-binding');
    I'm having trouble finding the source of the problem because the error report points me to the built version of
    netlify-lambda build
    which has over 100.000 unreadable lines.
    Edit: It appears to be a known issue. https://github.com/prismagraphql/prisma-binding/issues/191
1...838485...637Latest