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

    himerus

    06/09/2018, 12:25 PM
    Morning all! First off, thanks for the great tool! Prisma has made my life easier in the few short weeks I've been diving in! Second, I'm hoping someone can help me with a question about
    orderBy
    . I've posted full details here: https://stackoverflow.com/questions/50774034/prisma-orderby-in-a-resolver-query-outside-of-playground
    n
    • 2
    • 2
  • t

    tfiwm

    06/09/2018, 3:42 PM
    Does someone know how i can implement custom TypeResolver in prisma / graphql-yoga? I have a type Address nad i want that this resolver gets called on each place where this type is used
    n
    • 2
    • 36
  • j

    Jonathan

    06/09/2018, 5:29 PM
    Is GraphCool going away and there will only be Prisma in the future or is the plan for both of them to persist?
    n
    n
    • 3
    • 2
  • m

    manuel.dicristo

    06/09/2018, 7:15 PM
    I read that Prisma manages Rate-Limiting, where can I find info or docs about how to set it up or customize?
  • n

    notrab

    06/09/2018, 7:59 PM
    Anyway to use a Enum inside a prisma-binding query?
    Copy code
    const completed = await ctx.db.query.profiles({
            where: {
                company: {
                  id: args.id
                },
              status: `COMPLETED`
            }
          })
    n
    d
    • 3
    • 3
  • v

    Vivek

    06/10/2018, 9:01 AM
    ! Invalid prisma.yml file ! prisma.yml should NOT have additional properties. additionalProperty: endpoint Get in touch if you need help: https://www.graph.cool/forum To get more detailed output, run $ export DEBUG="*"
    r
    • 2
    • 1
  • v

    Vivek

    06/10/2018, 9:34 AM
    i am getting this error every time i am ruuning "prisma deploy"
  • h

    horia.ancas

    06/10/2018, 10:18 AM
    is there a way to order child types when I query the parent type?
    n
    • 2
    • 1
  • j

    jon

    06/10/2018, 10:38 AM
    Hey! Is there a way to generate TypeScript definitions for a
    graphql-yoga
    server?
  • k

    kosaka

    06/10/2018, 2:58 PM
    You can check this typescript boilerplate. https://github.com/graphql-boilerplates/typescript-graphql-server/blob/master/basic/.graphqlconfig.yml
  • k

    kosaka

    06/10/2018, 3:00 PM
    In my project, I configured .graphqlconfig.yaml like this
    Copy code
    projects:
      app:
        schemaPath: src/schema.graphql
        extensions:
          endpoints:
            default: '<http://localhost:4000>'
          prepare-bundle: src/generated/app.graphql
          codegen:
            - generator: prisma-binding
              language: typescript
              output:
                binding: src/generated/app.ts
      prisma:
        schemaPath: src/generated/prisma.graphql
        extensions:
          prisma: prisma/prisma.yml
          codegen:
            - generator: prisma-binding
              language: typescript
              output:
                binding: src/generated/prisma.ts
    j
    n
    • 3
    • 16
  • s

    Stef

    06/10/2018, 3:18 PM
    Hi folks, I’m trying to get a private Prisma instance up and running, with a Postgres backend (so I can migrate from an existing PG database more easily). I’ve managed to get a database, and the graphql crud endpoint up at: https://makelight-courses-api.herokuapp.com/ But now if I go into the the Prisma Cloud webapp and try to add it as a “Server”, I get “Network error: unable to fetch”. I’ve tried http. https, with and without the 4466 port but no luck. I think perhaps I’m missing something here. Can anyone point me towards a solution?
    n
    • 2
    • 2
  • a

    Antonio

    06/10/2018, 5:10 PM
    Hi guys
  • a

    Antonio

    06/10/2018, 5:10 PM
    I have this relation added to my graphcool db, but I keep getting a error :
    Untitled.php
  • a

    Antonio

    06/10/2018, 5:11 PM
    No idea where this is coming from
    -.xml
  • a

    Antonio

    06/10/2018, 5:11 PM
    I checked this article from @nilan https://github.com/prismagraphql/prisma/issues/1274 but the workaround did not work. Location before was a String, now has a relation and is a object.
  • a

    Antonio

    06/10/2018, 5:11 PM
    any idea how can I fix fix? I checked the forum and github but could not find any useful solution
  • c

    ckelley

    06/10/2018, 5:46 PM
    Anyone experiencing downtime with Prisma Cloud right now?
  • b

    brant

    06/10/2018, 9:26 PM
    Is there a trick to getting
    orderBy
    to work. I have a playground and it’s autofilling but swapping
    orderBy: createdAt_DESC
    with
    orderBy: createdAt_ASC
    not changing the order.
    • 1
    • 1
  • s

    Sikula

    06/10/2018, 9:37 PM
    hello 🙂
    👋 2
  • l

    lawjolla

    06/10/2018, 11:06 PM
    I'm upgrading a production Prisma deployment from 1.6 to 1.9, and the Prisma provided upgrade docs are uncharacteristically bad because they don't provide a step by step how to (not even a simple "here's how to get a docker-compose.yml generated"). Is there any how to, step by step guide out there?
    n
    • 2
    • 8
  • e

    eli

    06/10/2018, 11:10 PM
    Hey everyone, I've been playing with GraphQL/Apollo for a few days now and loving it! I was just wondering if anyone has experience in dealing with JSON data streams from devices such as sensors. If so, would love to have a quick chat simple smile
  • h

    halborg

    06/11/2018, 9:50 AM
    How do I eject from
    graphql-yoga
    and keep the playground for both the App and Prisma-DB schema, as well as Apollo Tracing?
  • h

    halborg

    06/11/2018, 9:51 AM
    The readme just says that you can eject, but not how - just how to add middlewares while not ejecting 😄
  • h

    halborg

    06/11/2018, 10:00 AM
    Also, how do I add comments to the database schema to be shown in the Playground schema documentation? It seems that
    prisma deploy
    strips away my comments with the docs.
    n
    • 2
    • 1
  • o

    obivan86

    06/11/2018, 10:42 AM
    hi guys, is there some channel related to graphql-relay?
    n
    • 2
    • 2
  • p

    pettanko

    06/11/2018, 3:59 PM
    Hmm anyone that help me figure out why results ends up like this? User1: Shows only user1's posts. User1 can query friends to get User2. User2: Shows user2's posts and user1's posts. User2 can also query friends to get User1. datamodel.graphql & schema.graphql -> friends: [User!]!
    n
    • 2
    • 1
  • b

    bobbyt

    06/11/2018, 4:28 PM
    Hi, does Prisma Cloud currently support PostgreSQL? I am able to connect to my own hosted PostgreSQL database (AWS) via
    docker compose
    /
    prisma deploy
    but when I try creating a hosted Prisma Cloud server by adding my database details in the console I get the following error message:
    Error while testing database connection: Network error: Failed to fetch
    Unfortunately, no additional details are provided. Thanks in advance!
  • h

    hez

    06/11/2018, 4:51 PM
    looking for a little help on querying relational data using custom resolvers and prisma-binding.... I have the following:
    l
    n
    • 3
    • 114
  • b

    brant

    06/11/2018, 5:25 PM
    I have a question about the Data Browser on app.prisma. I see I that all of my data is viewable in there. I’m sure at one point I was able to bring up a window that let me update/delete nodes but it doesn’t seem to be working anymore? Is there a trick? Was I hallucinating? Have I found a bug?
    k
    a
    n
    • 4
    • 9
1...535455...637Latest