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

    user

    07/04/2018, 4:39 PM
    A file was commented on
  • a

    aroman

    07/04/2018, 4:40 PM
    got it thanks for pointing me in the right direction.
  • h

    harmony

    07/04/2018, 4:43 PM
    yeah module support isn't really there yet for node, you're gonna have to use
    require
    or transpile your code
  • d

    Darryl

    07/04/2018, 4:50 PM
    If any of you have a few minutes, I’d really appreciate some help with an issue I’m having. Details a few posts up. I don’t like keep asking but I’m out of ideas now and I’ve tried here multiple times as well as the forum. I’ve loved learning Prisma so far and I’ve made a lot of progress but this has me stuck. 😕
    l
    n
    • 3
    • 75
  • j

    Jim

    07/04/2018, 5:07 PM
    For people using Heroku for their Prisma service, where are you hosting your API server? Im currently using Now. When I’m developing and I’m running my API server locally everything is pretty fast, but when I deploy the API server it’s a lot slower. Ive chosen the USA region for both Heroku and Prisma so maybe the 2 data centres are far apart?
    l
    • 2
    • 2
  • z

    zonofthor

    07/04/2018, 5:20 PM
    is there a way to disconnect all nodes, without fetching the ids ? something like
    update ... {disconnect: *}
    l
    n
    • 3
    • 3
  • p

    peter

    07/04/2018, 5:49 PM
    any examples of authenticated websockets using yoga?
    l
    • 2
    • 2
  • y

    yuri

    07/04/2018, 6:09 PM
    Guys, do you have more examples with
    resolver-forwarding
    ? We build API without using GraphQL schema language and instead we use separate object types with
    GraphQLObjectType
    . All examples I found use schema language only 😞
    Copy code
    const resolvers = {
      Query: {
        posts: forwardTo("db")
      },
    
      Mutation: {
        createPost: forwardTo("db"),
        deletePost: forwardTo("db")
      }
    };
    but how make this work with objects? Do you have xp with that?
    f
    • 2
    • 2
  • a

    aroman

    07/04/2018, 6:51 PM
    Hey, Im running prisma deploy and it only creates a prisma.ts. I deleted the past generated folder. When I deployed again it just generated the prisma.ts. Anyone had this issue?
    n
    • 2
    • 17
  • l

    lawjolla

    07/04/2018, 8:11 PM
    I'm using the Heroku dev deploy just to try it out, but the Prisma service just ran out of memory and I had to manually restart the dyno. I'm the only one using the service and didn't over request. Is there a memory leak? Is 500mb too small for Prisma?
    Copy code
    2018-07-04T20:02:56.426466+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    2018-07-04T20:02:56.426559+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    2018-07-04T20:02:56.426718+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:748)
    2018-07-04T20:03:01.276041+00:00 heroku[web.1]: Process running mem=519M(101.4%)
    2018-07-04T20:03:01.276145+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
    h
    d
    • 3
    • 5
  • z

    zonofthor

    07/05/2018, 12:01 AM
    deleting a node containing many nested nodes... doesn't disconnect relations automatically, right? Should I be worried by "deserted" relation data?
    f
    n
    • 3
    • 3
  • t

    theom

    07/05/2018, 2:08 PM
    Is there a technical reason why there is no 'DATA' tab in the boilerplate playground window as there is in the framework playground window? I've just started investigating the advanced boilerplate and just want to see the available data without having to write a query to view it.
  • s

    sunrising

    07/05/2018, 2:08 PM
    Hi guys, what's up here?
    eu-west-1:simple:cjj8ml8z7f05k0150tg8pje3n
  • j

    Jim

    07/05/2018, 5:36 PM
    Has anyone deployed the node server from one of the boilerplates to Heroku? https://github.com/graphql-boilerplates/react-fullstack-graphql/tree/master/advanced I can’t see how to just deploy the server (not React) as it’s not in the project root. Heroku docs dont seem very forthcoming…
    n
    n
    • 3
    • 3
  • h

    hez

    07/05/2018, 6:07 PM
    quick question about how prisma-connect works: if I have a custom resolver to update a record... and that custom resolver uses a prisma-connect mutation under the hood to update that record with the arguments supplied.... ...if one of the possibilities is creating a relationship between this record and the next, but that's optional, can I still use
    connect
    in this way?
    Copy code
    return await db.mutation.updateFoo(
            { data: {
              ...args,
              ...{ bar: {connect: { id: args.bar.id } } },
            },
          })
        }
    What does this do, if I don't pass a
    bar
    ? What if I passed a
    bar
    on a previous update, but not on a later update?
    • 1
    • 1
  • a

    aroman

    07/05/2018, 6:13 PM
    Hello community! I am having problems with this issue ^^. I’ve read all the similar issues in the forums. However, none of them have helped me solve my issue. I was hoping someone could point me in the right direction. I am very new to Prisma. Since I just installed it I am running the latest for each package including node and npm
    -.txt
  • u

    user

    07/05/2018, 6:44 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:23 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:23 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:27 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:27 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:28 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:28 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:28 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:28 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:29 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:32 PM
    A file was commented on
  • u

    user

    07/05/2018, 7:43 PM
    A file was commented on
  • r

    rwatts3

    07/05/2018, 11:34 PM
    Is there a File API or Image API with Prisma ?
    a
    n
    • 3
    • 4
  • v

    vampiire

    07/06/2018, 5:06 AM
    looking for help with migrating to apollo server 2.0. trying to activate the graphql playground and am getting a 500 status code
1...737475...637Latest