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

    prisma-chobo

    03/23/2020, 10:41 PM
    any idea please?
  • m

    Marcel

    03/24/2020, 9:24 AM
    is it even possible to use prisma in a serverless architecture? i'm still new to the idea of serverless. @prisma-chobo would it work?
    r
    d
    • 3
    • 3
  • c

    Charles Gaudreau Jackson

    03/24/2020, 8:17 PM
    Hi! When I run
    prisma deploy --env-file variables.env
    I get the following error and I am not sure where to look:
    r
    • 2
    • 4
  • c

    Charles Gaudreau Jackson

    03/24/2020, 8:30 PM
    The request id is: eu1:ck86c3zk9ds2q0a87m440k9tq
  • a

    Amit Gupta

    03/25/2020, 10:35 AM
    Hi, I am working with prisma 2 and i want to query database to get data greater than a specific data. I did not see anywhere any support for operators in prisma 2. Can anybody help me in that?
    l
    • 2
    • 6
  • a

    Amit Gupta

    03/25/2020, 12:16 PM
    Can anybody help me with one thing also? for example, if there are two tables User and Post Now if I want to query all post inside the user like:- { User_id Name  Post {    Post_id    title      } } Then, is there any method in Prisma 2 so that I don’t need to explicitly use include and without using that I can get the post if the client wants to retrieve it.
    l
    s
    • 3
    • 6
  • e

    Elliot Thomas

    03/25/2020, 4:17 PM
    Hey all so I was wondering if anyone had any ideas for a character inventory system using Prisma? I need Character and Item types and the relationship needs to store which items a character as well as a quantity of each item.
  • e

    Elliot Thomas

    03/25/2020, 4:17 PM
    I wasn't sure if there was a way to do it using relationships directly and was playing around with the idea of a separate type: https://gist.github.com/raziel2244/571d7c0946c8233834639929af0f737b
  • n

    Nick

    03/25/2020, 5:54 PM
    I’m not greatest javascript developer but how do I write test for this?
  • q

    Quinn Vaughn

    03/25/2020, 6:14 PM
    Does anyone know how to run a prisma mutation at a specific time that doesn't involve a cron job (which it seems I can only do as low as every minute?)? So if I'm waiting for some dateTime to pass so I can update a boolean field that says "gameHasStarted"? Think like, waiting for an HQ Trivia game to start, and once the time passes it's now live and the UI updates accordingly.
    r
    • 2
    • 2
  • j

    John Nashed

    03/25/2020, 6:46 PM
    Hello, I was hoping to get feedback from the community as I recently began to use Prisma for a project - the project requires making external API queries and then populating the application database with the result, i've chained the external request to call before the mutation and then use the response as the data for creating a new entry of the type. My question is regarding best practices as there's not a lot of information for this particular use, I know queries and mutations are supposed to be strictly independent, however I don't see an alternative since the queried data is external to my application, and it would be inefficient to not index the results.
  • e

    Ezra

    03/25/2020, 9:07 PM
    👋 Hi all, new to the Prisma ecosystem but looking forward to diving in. I'm a bit confused about whether I should start with Prisma 1 or 2 - all of the content on the website still seems to be for 1, but the sense I get is that it's going to be deprecated soon. My questions: • How stable is Prisma 2 at this point? are people using it in production? (and for purposes of this question, I mean "production" to be a lightly-used but actively-developed service) • Where is the documentation for Prisma 2? • Any official/unofficial resources/tutorials/guides that compare Prisma 1 and Prisma 2? Thanks!
    m
    s
    l
    • 4
    • 5
  • l

    lkbr

    03/26/2020, 6:47 AM
    Graphcool hosting is down. Could someone look into it? Yes... we're still using it like barbarians, but no effective migration strategy yet... so yeah.
    ➕ 1
  • j

    joar

    03/26/2020, 7:42 AM
    Graphcool down
    ➕ 3
  • g

    Grigory

    03/26/2020, 7:46 AM
    Graphcool message for any request:
    Copy code
    Whoops. Looks like an internal server error. Please contact us from the Console (<https://console.graph.cool>) or via email (<mailto:support@graph.cool|support@graph.cool>) and include your Request ID: eu-west-1:simple:ck88dyv8415mt0151t65k7vsu
    And console doesn't work. White screen... Is there any understanding on the timing of the solution to this problem? Will the data remain?
  • n

    nikolasburk

    03/26/2020, 7:54 AM
    Hey everyone, thanks for the notice about Graphcool! We're looking into it, I'll post an update here soon! 🙏
    🙏 4
    ❤️ 3
  • j

    joar

    03/26/2020, 8:08 AM
    Its working for me now
  • g

    Grigory

    03/26/2020, 8:11 AM
    For me too
  • l

    lkbr

    03/26/2020, 8:19 AM
    Not for me 😞 Request ID: eu-west-1***
  • j

    joar

    03/26/2020, 8:20 AM
    Yeah down again
  • l

    lkbr

    03/26/2020, 8:42 AM
    working consistently for us now.
  • l

    lkbr

    03/26/2020, 8:42 AM
    Thank you for the swift resolution.
  • k

    Kiyokodyele

    03/26/2020, 10:02 AM
    help? even in docker version same error.
  • c

    Calin Zapan

    03/26/2020, 11:45 AM
    First of all, hello everyone! Hope you're safe and doing good. I'm new around here(former Graphcool user) and I'm wondering if you guys could help me understand what's going on with Prisma Cloud. I'm looking for something easy to set up for a workshop. Right now whenever I access Prisma Admin it gets stuck on the loading screen. Doesn anyone else experience this?
  • c

    Calin Zapan

    03/26/2020, 11:49 AM
    And another quick question... why is it the onboarding flow disabled for Graphcool? Is it due to the fact that is going to be sunsetted?
    t
    • 2
    • 3
  • b

    bedeho

    03/26/2020, 12:32 PM
    Is there any way to make transactional (all or nothing) mutations through the Prisma client? I can't find it, but its hard to see how an ORM could not have this.
  • c

    Calin Zapan

    03/26/2020, 12:33 PM
    For some reason, I'm receiving this error on Prisma Cloud Service:
  • a

    Amit Gupta

    03/26/2020, 1:02 PM
    In the docs there is mentioned that there is support for @@id([author, title]). But when ever i run this i am getting error while running prisma2 migration up command
    s
    • 2
    • 1
  • m

    Mark Fulton

    03/26/2020, 5:38 PM
    Is there a way to prepopulate example queries for my API in a hosted GraphQL Playground?
  • o

    Omar Nasr

    03/27/2020, 2:11 AM
    Hey all, really silly question, for the generated prisma client in either TS or JS how are errors handled, I can’t seem to find any info on this
1...357358359...637Latest