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

    Jim

    05/15/2018, 5:04 AM
    In a prisma binding how can I pass a filter to a relation? This query works in the playground:
    Copy code
    query {
      groups {
          id
          name
          users(where:{
            location: {
              id: "cjh5xorfq000c0824kmvjjd63"
            }
          }) {
            id
          }
        }
    }
    But I dont know how to pass the location filter to the users relation in my resolver:
    Copy code
    groups(parent, args, ctx, info) {
      const {location} = args;
      return ctx.db.query.groups({}, info);
    },
    t
    c
    • 3
    • 9
  • t

    Tatsuyuki Ishi

    05/15/2018, 6:27 AM
    Is there a VSCode GraphQL extension that handles navigation (ctrl+click)?
    d
    • 2
    • 1
  • l

    lewisblackwood

    05/15/2018, 8:19 AM
    πŸ‘‹ what's the expected behaviour of
    prisma seed --reset
    ? When I run it with the same
    seed.graphql
    as used initially, I get the error:
    A unique constraint would be violated on User. Details: Field name = email
    . If I change the user's email address in the
    seed.graphql
    file, the command will run, but the database won't be reset. I would expect the database to be cleared by the
    --reset
    flag? I'm using Prisma 1.8.3 (although was using 1.8.0 when I first saw this).
    d
    • 2
    • 3
  • h

    hamdi

    05/15/2018, 9:18 AM
    hi friends how get last document of collection from mongoose
    a
    • 2
    • 4
  • a

    anton-b

    05/15/2018, 9:28 AM
    Anyone who have had problems with the error message "Cannot return null for non-nullable field", that can figure why I am getting it here?: https://www.prisma.io/forum/t/cannot-return-null-for-non-nullable-field/3476
    a
    • 2
    • 5
  • m

    mrugraj

    05/15/2018, 9:55 AM
    I see following error for all my subscriptions. All of them were working fine in past versions
    Copy code
    {
      "error": "Could not connect to websocket endpoint <ws://url/to/prisma/server>. Please check if the endpoint url is correct."
    }
    Can any one please help?
  • p

    picosam

    05/15/2018, 10:33 AM
    Does anyone have a working example of using Prisma with yarn workspaces?
    s
    • 2
    • 1
  • g

    gregor

    05/15/2018, 12:49 PM
    Hola πŸ‘‹ Can someone tell me how to deploy a service to a workspace? Or are workspaces something completely different that I don't understand at all? I can't find any info on this anywhere
    s
    n
    • 3
    • 6
  • t

    taikn

    05/15/2018, 1:17 PM
    whooohoo https://techcrunch.com/2018/05/15/prisma/
    bowtie 9
    🍻 5
    πŸ™‡β€β™‚οΈ 3
    πŸš€ 4
    🦜 11
    πŸ†’ 4
    πŸ€‘ 2
    πŸŽ‰ 32
    πŸ™Œ 5
    πŸ‘ 5
    prisma cool 6
    fast parrot 10
    πŸ™ 3
    πŸ’ͺ 2
  • a

    anton-b

    05/15/2018, 1:19 PM
    The new website looks awesome! πŸ”₯
    ❀️ 5
  • j

    Jeremy Scatigna

    05/15/2018, 1:25 PM
    Yeah the new website is fire πŸ’₯
    fast parrot 3
  • p

    picosam

    05/15/2018, 1:29 PM
    Congratulations folks, you certainly deserve it and more πŸ™‚
  • z

    Zach

    05/15/2018, 1:30 PM
    Well done! Excited for you guys! πŸŽ‰
  • m

    mimica

    05/15/2018, 1:33 PM
    congratulations guys!!!
  • b

    bycedric

    05/15/2018, 1:33 PM
    if only all dev tools could look as slick πŸ˜„
    prisma cool 10
  • m

    matus.congrady

    05/15/2018, 1:37 PM
    Hey, after changing my database endpoint (and re-deploying my prisma service, stopping/removing/restarting my prisma docker container), I can't connect to my prisma service. When I try to
    prisma deploy
    , I'm getting the following error:
    'ECONNRESET': request to <http://localhost:4466/management> failed, reason: socket hang up
    Anybody able to help?
    m
    n
    • 3
    • 4
  • b

    bruno

    05/15/2018, 1:53 PM
    Congrats to the successful ProductHunt launch and the TechCrunch article, you guys deserve it πŸŽ‰ πŸ‘
    πŸ™Œ 3
    πŸ‘ 2
  • v

    veksen

    05/15/2018, 2:56 PM
    congrats on the seed money!!
    πŸ™ 1
  • l

    lawjolla

    05/15/2018, 3:06 PM
    ... to be the wet blanket... VC backed companies scare me because venture capitalist are looking for a high multiple return, and that normally means there's a sell off / exit strategy. This may not be the appropriate forum to discuss such things, but I think the Prisma team could help people like me to address the question in some forum. Food for thought.
    πŸ‘ 2
  • w

    weakky

    05/15/2018, 3:40 PM
    Does anyone has a nice way to generate forms from graphql models ? It’s currently really ugly and messy to create/maintain forms to crud model
    l
    • 2
    • 2
  • n

    nhuesmann

    05/15/2018, 3:45 PM
    Oh shoot Graphcool slack just got changed to Prisma slack! Logo and everything!
    prisma dark 5
    prisma cool 9
    k
    • 2
    • 2
  • r

    Renato Tano

    05/15/2018, 3:54 PM
    Hi, Anyone is getting this error from graphcool-lib "unable to resolve jtn to webtask token"?
  • m

    mehdyouras

    05/15/2018, 4:22 PM
    -.js
  • m

    mehdyouras

    05/15/2018, 4:22 PM
    Hello I have an issur with prisma it doesn't want to return the whole tree like Prices and such ... πŸ˜•
    s
    • 2
    • 5
  • m

    mehdyouras

    05/15/2018, 4:22 PM
    I'm using a resolver that looks like this
  • v

    veksen

    05/15/2018, 4:42 PM
    So I'm more and more puzzled on how to deploy a Prisma instance as the docs are out of date or erroneous (both the DO, either manual or docker-machine are failing at one point or another, on Prisma 1.6)
    l
    n
    d
    • 4
    • 37
  • l

    lawjolla

    05/15/2018, 4:50 PM
    The new website is incredible! I've always loved the monochromatic look. And the content is spectacular. Well done! http://www.prisma.io
    πŸ™Œ 5
    😍 13
    πŸ‘ 3
    s
    • 2
    • 1
  • k

    Kat

    05/15/2018, 6:30 PM
    Yes the website is so beautiful 😍
  • p

    patrick

    05/15/2018, 6:47 PM
    congratulations ya’ll so exciting! πŸ‘
  • e

    ehodges

    05/15/2018, 7:05 PM
    Congrats Prisma people! πŸ‘
1...303132...637Latest