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

    weakky

    05/17/2018, 7:52 AM
    New tool of the day: https://github.com/confuser/graphql-constraint-directive , might still be very wip
  • s

    siyfion

    05/17/2018, 9:27 AM
    Uh, so in the Fargate article on Medium, it points to http://api.cloud.prisma.sh/ which now seems to be dead?!
    n
    t
    • 3
    • 7
  • s

    Soma Deaki

    05/17/2018, 10:29 AM
    how can I access the logs of a local prisma server running in docker?
    prisma cluster logs
    tells me that
    Cluster logs for non-local clusters is not implemented yet
    • 1
    • 1
  • t

    timwis

    05/17/2018, 10:35 AM
    Hey folks, just wanted to let you know that https://oss.prisma.io/graphql-binding is
    404
    -- i noticed a bunch of links to it from prisma website and docs
    n
    • 2
    • 1
  • t

    timwis

    05/17/2018, 10:36 AM
    and from https://github.com/graphql-binding/graphql-binding
  • s

    siyfion

    05/17/2018, 11:13 AM
    Silly CloudFormation bug… worked fine 2nd time around 😕
  • s

    siyfion

    05/17/2018, 11:17 AM
    @nilan Hey, the CloudFormation template has changed somewhat for Fargate, the article suggests theres a
    ClusterPublicKey
    field to fill in but there isn’t… but instead there now seems to be a
    ManagementApiSecret
    . Any idea’s where I get this new value from?
    n
    • 2
    • 3
  • s

    siyfion

    05/17/2018, 11:18 AM
    Or is this a user-specified & generated value?
  • a

    acasanova

    05/17/2018, 11:41 AM
    Anybody there facing some problems uploading with Apex Up to lambda servers after upgrading to Prisma 1.8? In local services everything is ok, but after deploying to Prisma cloud the upload to Lambda doesn’t work.
    i
    • 2
    • 3
  • t

    timwis

    05/17/2018, 12:07 PM
    Hey folks, I notice the tutorials on connecting to an existing database with data is "coming soon" -- are there any examples out there or a work in progress tutorial I can read?
    n
    • 2
    • 4
  • t

    timwis

    05/17/2018, 12:12 PM
    Also -- and forgive me if this is more general graphql-oriented than prisma -- I'm trying to wrap my head around how authorisation would work in my app, particularly with nested data. Like if a supervisor (user) can only see the "private notes" of employees (users) that report up to her, i know how i'd enforce that on the root level, putting a check in the
    notes
    resolver. but what's to stop someone from making a
    users
    query, and including the
    manager
    property, and the
    notes
    on that manager? Would that still hit the root level
    notes
    resolver? If so, is the way to solve issues like these by running a check on the
    parent
    arg too?
    n
    m
    • 3
    • 4
  • j

    juicycleff

    05/17/2018, 12:13 PM
    Hey got a Job on React, styled components, typescript and GraphQL. There is no test at the moment and while the project is structured properly there is no documentation ATM. You are to come in and build a community with UI like Discord app (if you not seen or use Discord, please check it out), You will only focus on that part of the app. Requirements You will ASAP Must have at least 5 yrs of NodeJS development experience If you are interested, pm me.
  • k

    kgoggin

    05/17/2018, 1:48 PM
    hey all! I’m trying to query against the
    node
    root field and getting a strange result. Using an
    id
    from a previous query that represents a
    Campus
    , I’m performing the following query:
    Copy code
    {
    	node(id:"cjh9jy6a5002e0926jhxtjfus") {
        id
        __typename
        ... on Campus {
          id
          name
        }
      }
    }
    but the result says
    __typeName
    is
    FinancialPaymentDetail
    - a totally different type…
    n
    • 2
    • 8
  • s

    Soma Deaki

    05/17/2018, 1:52 PM
    I keep running into this error if I let too many async tasks run prisma mutations: https://gist.github.com/somadeaki/17c9b8e96d4782e68559ee830f4843d4
    n
    • 2
    • 5
  • s

    Soma Deaki

    05/17/2018, 1:52 PM
    does anyone have any ideas why this happens?
  • s

    siyfion

    05/17/2018, 1:54 PM
    Argh.. For the life of me I can’t seem to get the
    graphql playground
    command to open up both my application and prisma endpoints.
    n
    • 2
    • 31
  • z

    zebapy

    05/17/2018, 2:18 PM
    so new prisma cloud isn’t really intended for storing data? is that the serverless hosting option?
    n
    n
    • 3
    • 5
  • v

    vjsingh

    05/17/2018, 3:57 PM
    what is the recommended way to programmatically update the database from the server? Can you call mutations from javascript / Node? Or somehow use code similar to what is in the resolver functions?
    l
    • 2
    • 16
  • j

    johhansantana

    05/17/2018, 3:57 PM
    is there a way to use environment variables inside a
    .graphql
    file?
    n
    • 2
    • 2
  • v

    vjsingh

    05/17/2018, 4:20 PM
    anyone want to help me out with static bindings in typescript + vim? 😄
  • v

    vjsingh

    05/17/2018, 4:26 PM
    looks like this might be what I want - https://github.com/graphql-boilerplates/typescript-graphql-server/tree/master/basic
    n
    • 2
    • 4
  • r

    ryannealmes

    05/17/2018, 4:28 PM
    hey guys, I was wondering if there is a way to see the underlying dockerfile used by
    prismagraphql/prisma
    ?
    n
    • 2
    • 1
  • b

    Bro

    05/17/2018, 4:47 PM
    Has anyone had any success deploying Prisma to a Kubernetes cluster? I opened a forum topic: https://www.prisma.io/forum/t/do-you-have-any-pointers-to-share-for-deploying-to-kubernetes/3522
    👍 1
  • b

    bobbyt

    05/17/2018, 9:22 PM
    @nilan with the big announcement (congrats!) and the push to focus on Prisma, can you comment (or point me to an official announcement) on the future of legacy Graphcool Cloud? You've stated you will continue to support it, but it appears that no new work will be done on it? We're about to launch a production mobile app and want to make sure legacy Graphcool cloud will be ok for the foreseeable future. Thanks!
    k
    n
    • 3
    • 2
  • a

    avdeveloper

    05/17/2018, 10:19 PM
    so I just did a fresh install of graphcool but somehow I can't do
    graphcool local up
    because I get unauthirzed access when the script tries to pull graphcool-db (mysql:5.7) from
    <https://registry-1.docker.io/v2/library/mysql/manifests/5.7>
    v
    p
    n
    • 4
    • 5
  • i

    Isaiah Grey

    05/17/2018, 11:34 PM
    @nilan is there an option for graphql prepare to generate into just a graphql type instead of ts or js? I had to switch to a private hosted server, and since it does not generate on its own on
    prisma deploy
    , now I must configure via a hook in
    prisma.yml
    and
    graphqlconfig.yml
    and the only options seem to be js or ts.
    n
    • 2
    • 1
  • t

    TangoJuliett

    05/18/2018, 12:18 AM
    Can anyone explain the difference between a
    *UpdateInput
    and a
    *UpdateDataInput
    ?
    n
    • 2
    • 4
  • u

    uyasarkocal

    05/18/2018, 1:09 AM
    How can I setup the node-graphql-server boilerplate on my own server with docker? I'm "cloning" the boilerplate with graphql-cli, then cd into database folder and tried "prisma init" with new postgres database, but it doesn't seem working that way. What am I doing wrong?
    n
    • 2
    • 1
  • p

    picosam

    05/18/2018, 7:13 AM
    Hello, is there a way to run “transactional” logic in Prisma? For instance, I want my GraphQL API to create a post, create a welcome comment, and subscribe the user to the post. Assuming that results 3 Prisma calls, is there a way to ensure the atomicity thereof, so if one call fails the previous get rolled back or not committed in the first place?
    t
    t
    +3
    • 6
    • 8
  • m

    mnichovcan

    05/18/2018, 9:58 AM
    hello i receive "unable to resolve jtn to webtask token" in graphcool resolvers. I have 2projects with identical resolvers. One working ok.
    n
    • 2
    • 1
1...333435...637Latest