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

    nikgraf

    12/17/2019, 12:58 PM
    Shameless plug: I produced a video course on “Designing GraphQL Schemas” https://twitter.com/nikgraf/status/1206543729227632640 Feedback is very welcome 🙌
    🎉 2
    fast parrot 6
  • i

    Isaac Weber

    12/17/2019, 5:58 PM
    Does anyone know how to test prisma-client with jest? I found very little about this.
  • n

    Nesh

    12/17/2019, 8:21 PM
    Prisma deploy seems to get stuck trying to open browser window in CI Opening https://app.prisma.io/cli-auth?secret=$xxxxxx. in the browser
  • n

    Nesh

    12/17/2019, 8:22 PM
    I’ve noticed that on my local few days ago. Anyone else experiencing this?
  • n

    Nesh

    12/17/2019, 8:23 PM
    ^ @divyendu @nikolasburk ?
  • n

    Nesh

    12/17/2019, 8:24 PM
    I’m using version 1.34.10, latest one
  • m

    Mayank Sethi

    12/18/2019, 12:16 AM
    Need Support - Earliest response would be appreciated :-)
  • m

    martin

    12/18/2019, 2:27 AM
    Question: Can Prisma Cloud be used in conjunction with Prisma2 and GraphQL Yoga at some point? Early 2020? Been working on a startup (still in stealth mode) for 1+ years; my strengths are front-end, not back-end, so would love it if Prisma offered some kind of BaaS to accentuate the amazing technology it’s building with the Prisma Framework. I also have strong brand loyalty, so would prefer having a single end-to-end solution that uses the Prisma techstack (prisma2, graphql-yoga, etc.)
    n
    • 2
    • 1
  • a

    Amir

    12/18/2019, 5:00 AM
    Does anyone knows if there is an information available regarding the security of data stored in the cloud, primarily if the connection between Graphcool and the database is secured with SSL and if there is data protection at rest for the stored data?
  • p

    preetb123

    12/18/2019, 8:20 AM
    is there an update to this issue? https://github.com/prisma-labs/graphql-request/issues/33 . i use mst-gql that uses graphql-request underneath, and i want this functionality working.
  • o

    Oscar

    12/18/2019, 1:11 PM
    I am using this (https://github.com/prisma/prisma-examples/tree/master/typescript/graphql) example to create a graphql api with prisma but i am confused as to how nexus fits into it. What is the added value of Nexus and could you do without?
  • j

    José Gomes

    12/18/2019, 2:54 PM
    Hello! Can someone tell me how can i make some kind of select distinct with prisma?
  • j

    Jeremy Cloutier

    12/18/2019, 3:26 PM
    It looks like the slack signup page is down slack.prisma.io
    l
    d
    • 3
    • 5
  • b

    Bjoern

    12/18/2019, 4:31 PM
    Hey, would it be possible to create a middleware for
    graphql-middleware
    to encrypt and decrypt data?
  • b

    Bjoern

    12/18/2019, 4:32 PM
    I am specifically not sure about datatypes, since it’s all strings after encryption
  • l

    Lukas Greb

    12/18/2019, 6:02 PM
    Is there a way to provide my own IDs for the database entries? I know they are unique and I need them, so I would prefer not to have two ID fields. Or is that not recommended? If not, why? My Ids have the form
    UgzgYz0AUiZVAW6cdfx4AaABAg
    I'm using GQL1 with Prisma and a MongoDB database.
  • l

    Lieven

    12/19/2019, 2:46 PM
    Hello together. Is there a way to export a subset of data via prisma which i can then import into another prisma instance with the same schema?
    r
    • 2
    • 6
  • l

    Layton

    12/20/2019, 2:28 AM
    👍 1
  • l

    Layton

    12/20/2019, 2:29 AM
    Anyone have idea why this error message has bunch of 3m, 4m... things between meaningful words? I'm using
    nexus-prisma
    r
    b
    • 3
    • 2
  • w

    wuichen

    12/20/2019, 5:37 PM
    trying to use prisma client in nextjs api route. hitting the api endpoint gives me this error. anyone know what might be the problem? i have make sure that my prisma docker is 1.34.10 and also my machines prisma. i have also tried generated typescript and javascript
  • m

    Marton Langa

    12/20/2019, 8:13 PM
    Migration engine panicks while running
    prisma2 dev
    (trying to rename the model
    Statistic
    to
    Statistics
    ) https://gist.github.com/martonlanga/c59350c2d9e3cae56ef63d059fb29fa2
  • t

    Tjeerd Ritsma

    12/21/2019, 10:31 PM
    If anyone has any idea, https://github.com/prisma/prisma/issues/4977 <- Go Lang GraphQL Example I’d like to start using prisma, but if the examples don’t work, that’s obviously not helping 😅
  • n

    Nico-L

    12/21/2019, 10:49 PM
    Hello,
  • n

    Nico-L

    12/21/2019, 10:51 PM
    I am trying to setup a prisma server via docker-compose on a vps. The endpoint is sucessfully created (I could check via ssh) but I can't reach it by a web browser at the vps IP. Is there some action needed to be able to reach it? Do I have to install nginx or something to forward the port?
    t
    • 2
    • 2
  • n

    Nico-L

    12/21/2019, 10:51 PM
    Thanks
  • n

    Nico-L

    12/23/2019, 11:51 AM
    Hello ! So I was going to start a new project with graphcool when I received the mail announcing the end of the service. A bit of a shame as my needs are low and the complexity of setting Prisma is a bit too much. Anyway, I have to make qqqthe switch. I have a few questions : * I used graphcool resolvers as serverless functions in particular to send emails through mailgun. Is it still possible with Prisma 1 + apollo server, with Prisma Framework ? * I understand that Prisma framework is not ready yet for production. But as I said my needs are suite low. So should i stick to Prisma 1 or make the jump ? Thanks
    p
    • 2
    • 1
  • v

    Vignesh T.V.

    12/25/2019, 12:46 PM
    Hi guys. This is not related to Prisma, but GraphQL. Can anyone help with this: https://github.com/graphql/graphql-js/issues/221#issuecomment-568894704 Thanks in advance
  • a

    andrux

    12/26/2019, 10:06 PM
    Hi, anyone knows how I can send multiple mutations from a single action by a user? Suppose a user taps a button, I already have it so that tapping the button sends a
    likePost
    mutation, but I want to also send a
    notifyPostLike
    mutation.. I’m trying with
    compose
    but haven’t been able to make it work for this particular case — I made it work on a different component and using multiple queries… My component looks like this:
    Copy code
    ...
          <Mutation mutation={mutation.query} variables={mutation.variables}>
            {(doMutation, { data }) => {
              const likes = data ? data.updatePost.likes : post.likes
    
              return (
                <TouchableOpacity style={styles.iconContainer} onPress={doMutation}>
                  <Icon name={mutation.icon} size={14} color={mutation.iconColor} style={styles.actionIcon} />
                  <Text style={styles.iconText}>
                    {formatterCount(likes.length)}
                  </Text>
                </TouchableOpacity>
              )
            }}
          </Mutation>
    ...
    b
    r
    • 3
    • 21
  • a

    Augusto Pablo

    12/27/2019, 3:41 AM
    🙋 Roll call! Who else is here?
    🕺 5
  • l

    Leonardo Pliskieviski

    12/28/2019, 12:56 AM
    Hi, does anyone knows if there is a way to automatically generate the prisma
    data model
    based on a
    schema.graphql
    ?, I`m currently using type-graphql with prisma 2
1...339340341...637Latest