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

    iamclaytonray

    02/23/2018, 12:26 PM
    Is it possible to use Aurora with Prisma Cloud?
    n
    l
    • 3
    • 16
  • h

    horia.ancas

    02/23/2018, 12:34 PM
    guys, is there a way to change the font weight used in graphql playground? Using the light theme and I can barely see the text 🤓
  • p

    patrick_madx

    02/23/2018, 1:11 PM
    Anyone knows how to solve this issue?:
    Copy code
    ERROR: Whoops. Looks like an internal server error. Search your cluster logs for request ID: cluster:cluster:cjdzydutx5iwo0149wvzi8vsc
    
    {
      "data": {
        "deploy": null
      },
      "errors": [
        {
          "message": "Whoops. Looks like an internal server error. Search your cluster logs for request ID: cluster:cluster:cjdzydutx5iwo0149wvzi8vsc",
          "path": [
            "deploy"
          ],
          "locations": [
            {
              "line": 2,
              "column": 9
            }
          ],
          "requestId": "cluster:cluster:cjdzydutx5iwo0149wvzi8vsc"
        }
      ],
      "status": 200
    }
    a
    y
    • 3
    • 6
  • t

    Ted Williams

    02/23/2018, 1:16 PM
    Hi! I’m still looking for those who have active github accounts registered a year ago or earlier. I want these tokens https://gist.github.com/c-darwin/a9a96a4eaae16c0d410f34e434594132 They don't sell them, that's why I'm looking for people having veteran github accounts to place my ECDSA keys there. I can pay for your help, please PM me. Thanks!
  • m

    Mike

    02/23/2018, 1:45 PM
    what is the recommended way to get the complete graphcool graphql schema, including the generated crud mutations and relation mutations etc? If it's even possible that is 😛
    i
    • 2
    • 10
  • i

    iamclaytonray

    02/23/2018, 1:50 PM
    Does anyone have a basic ecommerce API on Github?
    e
    • 2
    • 1
  • t

    Todd Humphrey

    02/23/2018, 2:10 PM
    In regard to private clusters for Prisma , would each stage be considered its own cluster (for pricing purposes) so we would have a development, staging, production cluster? If each has to be its own cluster, it seems like Prisma would be cost prohibitive for my project
    l
    • 2
    • 1
  • u

    user

    02/23/2018, 2:30 PM
    @zelphir commented on @zelphir’s file

    https://prisma.slack.com/files/U6JPD2CKG/F9CTL8DCY/screen_shot_2018-02-23_at_01.12.11.png▾

    : no one? Why the difference between my project and the Example one?
  • i

    iamclaytonray

    02/23/2018, 3:07 PM
    @zelphir
    z
    d
    n
    • 4
    • 44
  • z

    zelphir

    02/23/2018, 3:10 PM
    @iamclaytonray no dude, I meant the white boxes where you can play with the fields or add a new type, not the content itself 😉
  • n

    Nick Luger

    02/23/2018, 3:14 PM
    Can i auto-generate TypeScript `interface`s from the
    schema.graphl
    -file in
    yoga
    ? Currently i'm defining all models twice, once in GraphQL SDL and once in TypeScript...
    i
    h
    a
    • 4
    • 25
  • j

    johhansantana

    02/23/2018, 3:32 PM
    something wrong with prisma us shared cluster
    i
    n
    • 3
    • 3
  • j

    johhansantana

    02/23/2018, 3:32 PM
    try going to https://us1.prisma.sh/cluster
  • j

    johhansantana

    02/23/2018, 3:33 PM
    @nilan
  • b

    bmitch

    02/23/2018, 4:05 PM
    Hi all! Who here has some experience with high-level authentication for a Yoga Server, and some time to help me out? I'm not talking permissions, as listed in this doc - https://www.prismagraphql.com/docs/tutorials/graphql-server-development/permissions-thohp1zaih, but rather limiting who has access to a Yoga Server at all. Scenario is that right now anyone can hit my endpoint and see the playground, and I'd like to limit who can do that.
    n
    t
    • 3
    • 4
  • e

    ed

    02/23/2018, 6:56 PM
    hi guys, some of you have had issues importing the aws-sdk to a custom resolver?
    import aws from 'aws-sdk'
    I got it is undefined and I installed it already. Thanks in advance
    m
    m
    • 3
    • 13
  • g

    George Willaman

    02/23/2018, 7:06 PM
    Good morning, everyone
    🖖 1
  • z

    zcourts

    02/23/2018, 8:00 PM
    We've kept an eye on the graphcool stuff for a while and are currently looking to replace our own GraphQL impls. with pieces from graphcool. Right now in particular, our next project involves implementing something that does pretty much what Prisma does...as a result, we're thinking of using Prisma instead of rolling our own. Not entirely the whole prisma systems looks huge. What we're after is data virtualisation. GraphQL as the lang of choice for all schemas and something between our services and Cassandra/ES. We need queries, mutations and subscriptions. I've had a look through the docs/github and my impression of how this goes together so far is this... There's a GQL server written in Scala (with sangria) which provides a GQL api. This I imagine does generic field resolution. The prisma tools when it generates a server, this is in JavaScript/typescript and users primarily will work in the JS world. I expect this server is a proxy to the Scala one? It's currently unclear to me what the role of lambda/serverless is in all this. For us, we only want to take the Scala/Sangria server. We're a JVM shop with the exception of our two frontend team members we could scrape some javascript/typescript together to make something just work but it's not something we're comfortable in. Our existing stack is Scala/Sangria - we're already doing generic field resolution, we don't know our schemas in advance they're defined at install time. What I'm after is a little guidance on how feasible it is to just use/extend the Scala/sangria parts of prisma. Some info about what the docker/docker-compose stuff is all about...where does it fit in? Are the docker bits hard dependencies, only parts of our stack is containerised so some stuff is still bare metal. AWS/Cloud/serverless isn't an option as we do on prem installs for some deployments. From what I read prisma does all of what we need, it's just unclear to me where it all happens (is it in the Scala server or the generate JS), is it as easy as, publish sbt modules as a lib and use/extend some classes or will it be a major refactor to get bare minimum without the JS/serverless/docker stuff. I'd rather we didn't have to re-invent all of this when our time could be better spent contributing to prisma server so I'm currently going throgh the code but it's not tiny project so thought I'd ask for pointers before going to far or getting overwhelmed by pieces that I needn't pay too much attention to.
    n
    • 2
    • 2
  • t

    Trey

    02/23/2018, 10:05 PM
    Hi guys! Can anyone offer some guidance as to how I can export data from graphcool? It seems the export cli command was removed and the api is giving me a 500 status code.
    😞 1
    a
    • 2
    • 1
  • a

    aryan

    02/23/2018, 11:52 PM
    Hey guys, quick question. Is it possible to orderBy the length of an array? I realize I can use
    _fieldnameMeta { count }
    , but is it possible to oder based on the count?
  • k

    Kimiiz

    02/24/2018, 8:30 AM
    how to custom resolver mutation from this input field
    <input type="text" name="team[]" id="team" />
    h
    • 2
    • 1
  • t

    terion

    02/24/2018, 1:35 PM
    Had anybody luck in starting prisma with
    docker-compose
    ? It doesn't work as I see 😞 https://github.com/graphcool/prisma/issues/1972
    a
    • 2
    • 3
  • k

    Kimiiz

    02/24/2018, 4:11 PM
    how to send value to variables same this ?
    Copy code
    const stageTwoConfig = {
        name: ‘createTeamWork’,
        props: ({
            createTeamWork,
            ownProps: { client }
        }) => ({
            update: (event) => {
                const data = new FormData(event.target)
                event.preventDefault()
                event.stopPropagation()
                createTeamWork({
                    variables: {
                        firstName: this.state.firstName,
                        lastName: this.state.lastName,
                        position: this.state.position,
                        experience: this.state.experience,
                        eduBg: this.state.eduBg,
                    }
                }).then((res) => {
                    console.log(‘res ok’, res)
                    // redirect({}, ‘/voucher/form/stage-3’)
                }).catch((error) => {
                    console.error(‘error’, error)
                })
            }
        })
    }
    m
    • 2
    • 9
  • m

    max

    02/24/2018, 5:02 PM
    has anyone successfully deployed to AWS EC2? I'm having trouble accessing the endpoint https://www.graph.cool/forum/t/running-prisma-on-ec2-cluster-endpoint-not-accessible/2648
    l
    • 2
    • 10
  • p

    picosam

    02/24/2018, 6:40 PM
    Hello! Out of curiosity, what happens if, right after I create a
    typescript-advanced
    -boilerplate-based project, I changed
    NODE_ENV
    into
    local
    instead of
    dev
    ? What dependencies or side-effects am I not seeing?
    h
    n
    • 3
    • 15
  • k

    Kimiiz

    02/24/2018, 7:36 PM
    how to mutation with apollo-client and resolver mutation this variables
    how_to_mutation_with_apollo-client_and_resolver_mutation_this_variables.js
  • n

    nilan

    02/24/2018, 7:37 PM
    Hey @Kimiiz, if you want to discuss code snippets and usage questions, I suggest using the Forum instead: https://www.graph.cool/forum/. Thanks! 🙂
    💚 1
    👍 1
  • k

    Kimiiz

    02/24/2018, 7:49 PM
    How to mutation with apollo-client and resolver mutation with prisma for this variables https://www.graph.cool/forum/t/how-to-mutation-with-apollo-client-and-resolver-mutation-with-prisma-for-this-variables/2654?u=kimiiz
  • h

    hailwood

    02/25/2018, 12:02 AM
    Hey folks, Can anyone explain what the deal is with the prisma repo? Was it originally the hosted graphcool framework repository or something? I'm finding the issues section rather confusing as to what's relevant. E.g. looking for how I would do google based authentication, I came across this issue https://github.com/graphcool/prisma/issues/43 which refers to these examples https://github.com/graphcool/templates/tree/master/auth which seem to be specific to graphcool and not prisma
    h
    • 2
    • 3
  • f

    Fitch

    02/25/2018, 12:08 AM
    The oauth User and role methods are still the same
1...586587588...637Latest