https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# prisma-whats-new
  • d

    danielvdm

    03/17/2018, 4:21 PM
    what's the status of this issue? I want to use hooks to append userId onto a mutation so it's handled server-side by the auth header, instead of client-side (where the client can send any userId)
  • d

    danielvdm

    03/17/2018, 4:32 PM
    ah i just discovered permissions queries
  • d

    danielvdm

    03/17/2018, 4:32 PM
    i think that solves my issues
  • d

    danielvdm

    03/17/2018, 7:08 PM
    do we have access to the main schema from resolver functions?
  • d

    danielvdm

    03/17/2018, 7:08 PM
    if i want the following:
    Copy code
    extend type Mutation {
      createEvent(slots: Int!): Event!
    }
  • d

    danielvdm

    03/17/2018, 7:08 PM
    how do i reference
    Event
    ?
  • d

    danielvdm

    03/17/2018, 7:11 PM
    https://github.com/graphcool/graphcool-framework/issues/256
  • d

    danielvdm

    03/17/2018, 7:11 PM
    i guess its this
  • m

    McArthur

    03/17/2018, 10:58 PM
    I’m only getting 503 from my private prisma cluster right now. Anyone else seeing this issue?
  • d

    Daniel K.

    03/18/2018, 7:03 AM
    hi, has anyone tried deploying prisma to AWS EC2? I don't even have an AWS account yet which means I would be getting 12 months for free however it feels somewhat intimidating, so I am curious if it's too different from eg. Digital Ocean (sorry, Prisma Cloud is just too expensive for us at the moment)
    👍🏻 1
  • z

    zelphir

    03/18/2018, 10:51 AM
    Hi guys, question about pricing/connections/requests. In the free tier it says 100k requests, is that per month? How are subscriptions calculated?
    d
    • 2
    • 12
  • d

    Daniel K.

    03/18/2018, 11:05 AM
    ok, I've progressed with AWS and I am at the point that docker seems to be running on AWS
    Copy code
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    e1c42cadffae mysql:5.7 "docker-entrypoint..." 14 seconds ago Up 14 seconds 0.0.0.0:3307->3306/tcp prisma-db
    4bd0e2e15b48 prismagraphql/prisma:1.4 "/bin/sh -c /app/s..." 14 seconds ago Up 5 seconds 0.0.0.0:4466->4466/tcp local_prisma-database_1
    I've run the
    prisma cluster add
    however when I try to
    prisma deploy
    (with .env file tweaked) it is failing to connect, I got IP address with
    docker-machine ip
    command, port should be open as well ... any idea what might be wrong?
    • 1
    • 1
  • m

    Michael

    03/18/2018, 11:32 AM
    “Whoops. Looks like an internal server error. Search your cluster logs for request ID: ”
    error_in_nested_connect.txt
  • m

    Michael

    03/18/2018, 11:32 AM
    It seems not working for nested connect with create at the same time? any suggestion?
    d
    • 2
    • 7
  • d

    davidyoung

    03/18/2018, 11:59 AM
    Hey, I'm looking to deploy graphcool-framework to a self-hosted solution like DigitalOcean or Now, anyone done any of this?
    m
    • 2
    • 8
  • m

    Michael

    03/18/2018, 12:06 PM
    “message”: “Whoops. Looks like an internal server error. Search your cluster logs for request ID: apiapicjewr7rhe00hu0902nfeu71a9",
    logs_in_docker.txt
  • m

    Michael

    03/18/2018, 12:06 PM
    @Daniel K. this is logs on docker
    d
    • 2
    • 2
  • d

    davidyoung

    03/18/2018, 12:10 PM
    Really struggling to find any documention on how to deploy graphcool-framework to my own cloud solution
    👍 1
    d
    • 2
    • 2
  • j

    Juraj

    03/18/2018, 1:48 PM
    Hi All. I need your help. I have relation between User and Project. How could I update Users`s project? I think that I need to use connect and disconnect
    h
    d
    • 3
    • 7
  • p

    pasa

    03/18/2018, 5:21 PM
    Hey everybody, I have a question concerning Graph.cool. I want to delete a node called list, which has listentries associated with it. These listentries, need the list as a 'parent'. So I need to delete these nodes as well, when deleting the list. Is there an easy way to achieve that within REACT, or will I have to trigger those deletions all by myself?
    m
    • 2
    • 3
  • p

    pasa

    03/18/2018, 6:52 PM
    Okay, if nobody knows how to do this, then could someone tell me, how I can execute a mutation within a function, without using the syntax
  • p

    pasa

    03/18/2018, 6:52 PM
    -.txt
  • p

    pasa

    03/18/2018, 6:52 PM
    I mean, I don't want to create a component, which I would have to include then, but call the mutation directly.
    d
    • 2
    • 1
  • d

    danielvdm

    03/18/2018, 8:19 PM
    has anyone used $input_scalar before?
  • d

    danielvdm

    03/18/2018, 8:19 PM
    in the permissions api
  • p

    picosam

    03/18/2018, 10:00 PM
    So when would one want their Query/Mutation resolver to not be
    async
    ?
  • h

    harmony

    03/18/2018, 10:06 PM
    when you don't have anything async to do ig
  • p

    picosam

    03/18/2018, 10:07 PM
    🙂
  • p

    picosam

    03/18/2018, 10:08 PM
    It’s just that I find 100% of my resolvers using
    ctx.db.query
    which always returns a
    Promise
  • p

    picosam

    03/18/2018, 10:09 PM
    Actually, all functions of
    Prisma
    return `Promise`s!
1...612613614...637Latest