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

    Alex Howard

    07/14/2018, 2:32 PM
    I'm manually deploying a prisma server to an ec2 cluster and have gotten it to work thus far, but there's no SSL on the endpoint/playground and I can't seem to find any info on how to add ssl, would I need to use something like nginx to add ssl and proxy to the container running prisma? or is there a better way?
    r
    • 2
    • 7
  • k

    Khoa Huynh

    07/14/2018, 8:54 PM
    hello how can we call another mutation in a mutation?
    t
    • 2
    • 3
  • t

    tsdexter

    07/14/2018, 9:33 PM
    I followed the Kubernetes tutorial and have prisma running in GCP. I also have a GraphQL server running locally that can connect to prisma in GCP because I have port forwarding from kubectl running.. How do I do this part, mentioned in the tutorial, but not explained.
    The Prisma server is running on the Kubernetes cluster and has an internal load balancer. This is a sane security default, because you won’t expose the Prisma server to the public directly. Instead, you would develop a GraphQL API and deploy it to the Kubernetes cluster as well.
    @andre
  • t

    tsdexter

    07/14/2018, 9:37 PM
    How do I deploy my graphql-yoga server to the kubernetes cluster? If I had to guess, I need to make a dockerfile file for it then some combination of deployment.yml and/or service.yml that pushes it to kubernetes?
  • m

    Mohamed Khalil

    07/15/2018, 8:22 AM
    Hello I have build and deploy my first qraphql with prisma service based on node advanced boilerplate every thing works fine but I cannot see the prisma auto generated queries, mutation & subsccription in prisma playground thanks it seems like playground not give the database app switcher
    r
    • 2
    • 11
  • r

    radicand

    07/15/2018, 12:32 PM
    not necessarily a gc question, but does the graphql spec support any way to reference selected nodes further down in depth? e.g. parent.tags in below fake example?,
    Copy code
    allPosts(author: "xxx") {
    id
    name
    tags
    author {
    name
    posts(hasTags: parent.tags) {
    id
    name
    }
    }
    }
    h
    • 2
    • 3
  • i

    itguymax

    07/15/2018, 4:09 PM
    Hi everyone I am intern in a startup company in India . I wrote a little post on prima. I would like your review thanks
    👍 1
  • i

    itguymax

    07/15/2018, 4:09 PM
    https://www.tech47.in/blog/prisma-graphql
  • g

    Gabril

    07/15/2018, 6:08 PM
    How to test fileupload through graphql playground?
    h
    • 2
    • 4
  • h

    horia.ancas

    07/15/2018, 8:10 PM
    hey, I’m trying to update prisma-bindings to 2.x and I have followed the guide here: https://www.prisma.io/docs/reference/prisma-bindings/code-generation-cosha9rah3/#upgrading-from-prisma-binding-v1.x but I get an error on
    prisma deploy
    n
    • 2
    • 2
  • h

    horia.ancas

    07/15/2018, 8:10 PM
    Copy code
    /Users/ancashoria/Workspace/personal/toucan/node_modules/prisma-binding/dist/bin.js:73
        .demandOption(['i', 'l', 'b']).argv;
         ^
    
    TypeError: yargs.usage(...).options(...).demandOption is not a function
        at Object.<anonymous> (/Users/ancashoria/Workspace/personal/toucan/node_modules/prisma-binding/dist/bin.js:73:6)
        at Module._compile (module.js:641:30)
        at Object.Module._extensions..js (module.js:652:10)
        at Module.load (module.js:560:32)
        at tryModuleLoad (module.js:503:12)
        at Function.Module._load (module.js:495:3)
        at Function.Module.runMain (module.js:682:10)
        at startup (bootstrap_node.js:191:16)
        at bootstrap_node.js:613:3
  • m

    Michael Jones

    07/15/2018, 8:26 PM
    Anyone know the status on aggregate functions? The public roadmap is not out yet and I really need them. Primarily, the
    sum
    is REALLY needed in my project.
    h
    • 2
    • 4
  • m

    Mike

    07/16/2018, 6:48 AM
    Why are there so many serious bugs with Prisma?
  • m

    Mike

    07/16/2018, 6:49 AM
    I’m hitting this one: https://github.com/prismagraphql/prisma/issues/2333 It looks like it’s been known about for several months, but nothing’s been done about it
    👍 2
    n
    • 2
    • 1
  • a

    Abhi

    07/16/2018, 11:02 AM
    Anyone deployed prisma in production here?
    r
    • 2
    • 1
  • m

    mikedklein

    07/16/2018, 2:49 PM
    Is there a way to have the relationship tables store modified time stamps?
  • m

    mikedklein

    07/16/2018, 2:50 PM
    I have a cron I need to run to do clean up on orphaned form data and was hoping to use a modified time stamp on relations to remove them based on time.
  • m

    mikedklein

    07/16/2018, 2:50 PM
    I manually added the field to the DB but I am worried that is frail and would be gone the next
    prisma deploy
  • a

    agartha

    07/16/2018, 2:53 PM
    👋🏻 fast parrot
    👋 4
    parrotwave6 3
    🦜 5
    gucci 2
    h
    l
    • 3
    • 3
  • y

    yrsurya.br

    07/16/2018, 3:24 PM
    Hi any suggestions on getting headless chrome on linux machine
  • y

    yrsurya.br

    07/16/2018, 3:25 PM
    As our jenkins executors uses amazonlinux:2 and like to perform UI tests in google-chrome from jenkins any suggestions please
  • v

    veksen

    07/16/2018, 4:12 PM
    Is it possible to do the reverse operation of deleting all nested relationships? Basically my create relationship looks like this:
    Copy code
    {
        name: "yeye",
        description: "yaya",
        rows: {
          create: [
            { columns: { create: [{ type: "Text", content: "text 1" }, { type: "Image", content: "" }] } },
            { columns: { create: [{ type: "Text", content: "text 2" }, { type: "Text", content: "text 3" }, { type: "Text", content: "text 4" }] } }
          ]
        }
      }
    (Pretty much I want to wipe everything and just re-create everything on update, instead of trying to do a delta of existing/non-existing, plus handling deleting etc… to me the deletion was a simpler)
    e
    • 2
    • 1
  • j

    jsan

    07/16/2018, 4:20 PM
    how to restrict access to resolver functions? right now they can be executed by anyone if they have the project url
    v
    • 2
    • 5
  • p

    pettanko

    07/16/2018, 6:37 PM
    How would you solve multi line strings? I'm not sure whats it called so I fail at googling xD Storing and showing.
    e
    • 2
    • 1
  • b

    bazaglia

    07/16/2018, 6:48 PM
    @nilan @schickling maybe you'll be interested in taking a look. Easy-to solve bug: https://github.com/prismagraphql/http-link-dataloader/issues/11
    n
    • 2
    • 1
  • w

    w0wka91

    07/16/2018, 11:00 PM
    is there any way to deploy without using the prisma cli? I need to deploy at runtime
  • a

    alec

    07/17/2018, 1:21 AM
    Any good tutorials on working with the prisma bindings? A little confused on how I am supposed to learn how to implement my resolvers
    w
    • 2
    • 2
  • k

    Khoa Huynh

    07/17/2018, 4:03 AM
    guys, could we make an update to multiple IDs?
    w
    • 2
    • 3
  • d

    Daniel Calle

    07/17/2018, 6:32 AM
    hey channel! any problem with graphbin service? We have problems with the links generated. They redirect to "new" page and doesn't show the shared queries. Have anybody news about it issue? (edited) Thanks!!!
    ❗ 1
    h
    • 2
    • 1
  • j

    jsan

    07/17/2018, 10:03 AM
    at the site https://www.graph.cool/ it says run
    npm install -g graphcool
    to install but at this repo https://github.com/prismagraphql/graphcool-framework it says run
    npm install -g graphcool-framework
    . what's the difference between these two commands?
    a
    • 2
    • 1
1...848586...637Latest