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

    warchantua

    01/06/2019, 11:15 PM
    Is it possible to automatically generate swagger documentation for REST API with prisma?
  • x

    xiaoqf10

    01/07/2019, 2:19 AM
    When will graphqlgen release a new version?
  • z

    Zain

    01/07/2019, 6:57 AM
    Hi everyone
  • z

    Zain

    01/07/2019, 6:57 AM
    Does anybody have any idea when can expect a fix for the boilerplate project?
    a
    • 2
    • 2
  • z

    Zain

    01/07/2019, 6:58 AM
    https://github.com/graphql-boilerplates/typescript-graphql-server/issues/410
  • t

    tylim

    01/07/2019, 12:02 PM
    heh guys a question here, is prima binding still relevant?
  • t

    tylim

    01/07/2019, 12:02 PM
    or should i just use prisma client?
    n
    j
    f
    • 4
    • 12
  • w

    warchantua

    01/07/2019, 3:42 PM
    how to modularize my schema definition for API? in all examples graphql-yoga includes single
    schema.graphql
    as
    typeDefs: '<path to schema.graphql>'
    h
    • 2
    • 5
  • j

    Jidé

    01/07/2019, 5:02 PM
    Hey folks ! Is UUID filed type the same as ID ?
    w
    h
    • 3
    • 4
  • m

    mistereo

    01/07/2019, 5:18 PM
    Will prisma admin be open sourced? How one can get preview invite?
  • p

    purrado

    01/07/2019, 6:50 PM
    Hello 👋 Is there a way in
    graphql-yoga
    to serve two different GraphQL endpoints on the same port? Something like
    localhost:4000/api
    &
    localhost:4000/admin
    ?
    s
    j
    s
    • 4
    • 5
  • s

    Sean Urgel

    01/08/2019, 3:39 AM
    Does anyone know how to handle unique constraint errors? I am trying to catch and gracefully send back a custom error message instead of
    Error: A unique constraint would be violated on User. Details: Field name =email
    • 1
    • 1
  • x

    xiaoqf10

    01/08/2019, 3:52 AM
    Hey guys a question. Why prisma client do not support "updateMany" in unscalar fields?
    z
    d
    • 3
    • 5
  • l

    Lucas

    01/08/2019, 4:48 AM
    I’m having problem deploying with the ENDPOINTS that are provided in the dashboard
  • l

    Lucas

    01/08/2019, 4:48 AM
    https://www.prisma.io/forum/t/use-with-endpoint-provied-in-dashboard-not-working/5600
  • b

    brayoh

    01/08/2019, 7:46 AM
    Not sure where to post this but the site has been down for a couple of hours
    p
    s
    s
    • 4
    • 12
  • b

    brayoh

    01/08/2019, 7:46 AM
    https://www.prisma.io/
  • m

    Marko Divjak

    01/08/2019, 9:16 AM
    Hello everyone 🙂 Did someone make Apollo Server with Prisma and Postgres database ?
    j
    f
    • 3
    • 7
  • j

    Jidé

    01/08/2019, 9:33 AM
    Hello ! Since yesterday my prisma instance is broken. I can’t seed, reset leaves some content and i keep getting “Whoops. Looks like an internal server error.” Any idea how I can get out of this ?
    d
    • 2
    • 5
  • j

    Jorn

    01/08/2019, 1:53 PM
    Hi guys! I have a quick question regarding relations on an existing mongoDb dataset. Is it possible to rename the field of the relation? Given the following Type, I would like to change the accountId field to owner without modifying my db structure so I don't brake legacy APIs?
    -.txt
  • n

    Naka

    01/08/2019, 2:15 PM
    Anyone having trouble accessing prisma github?
  • j

    John Smith

    01/08/2019, 2:17 PM
    same, seems that prisma repository is removed from github
  • f

    Franz

    01/08/2019, 2:35 PM
    Please restore github prisma repo!
  • n

    nikolasburk

    01/08/2019, 2:38 PM
    Hey everyone, we're currently having trouble with our main GitHub repository on https://github.com/prisma/prisma. We are already in touch with GitHub and it should be back online in the next few minutes. Thanks a lot for your patience 🙏
    s
    f
    • 3
    • 2
  • s

    shadowcodex

    01/08/2019, 5:05 PM
    Has anyone here successfully ran a write pristma cluster and read only prisma cluster against the same DB?
  • v

    vjsingh

    01/08/2019, 6:09 PM
    Does anybody know why nullable arrays aren’t allowed? “The relation field
    users
    has the wrong format:
    [User!]
    Possible Formats:
    User
    ,
    User!
    , `[User!]!`”
  • v

    vjsingh

    01/08/2019, 6:10 PM
    I have
    users: [User!]
    in my datamodel.graphql
  • b

    brandondeo

    01/08/2019, 6:12 PM
    Is it possible to do migrations from string to DateTime?
  • b

    brianfeister

    01/08/2019, 7:30 PM
    Hey 👋 I just want to say up front that I've got good programmer karma points stored up, been a while since I begged the internet for help, but I'm having trouble figuring this out and I'm brand new to Prisma and trying to figure out queries. Given the following call made from my GraphQL / Prisma backend, I'm looking to query
    {parent: String}
    . Anything non-
    null
    will work here,
    String
    isn't accepted, complains about wanting an object. So, it's not types. I also tried
    { parent_not: null }
    with no luck. Sorry for the beginner question, can't find this in the docs.
    Copy code
    const children = await ctx.db.query.comments(
          {
            where: { AND: [{ isPublic: true }, { parent: String }] },
            orderBy: 'createdAt_DESC'
          },
          info
        )
  • b

    brianfeister

    01/08/2019, 7:32 PM
    free stackoverflow points to anyone who can help, and apologies again... I'm staring down the barrel of a tight deadline. https://stackoverflow.com/questions/54096941/prisma-query-fields-where-value-is-a-string-or-id
    c
    s
    • 3
    • 4
1...185186187...637Latest