https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# prisma-whats-new
  • d

    Daniel Min

    01/21/2018, 12:09 PM
    In prisma, Is there no way to add a field on a type that isn't be added on DB table as column?
  • s

    Stef

    01/21/2018, 12:17 PM
    Lovely to wake up today with the site humming away nicely. I had a gotcha with an inline subscription resolver where it maxed out the function execution rate and put the container into quarantine mode. Watch those resolvers folks!
    ✨ 1
  • m

    matic

    01/21/2018, 1:27 PM
    Hey guys, anyone willing to help me with some RegExp? 🙂 I want to make sure that provided email has specific domain ,
    @gmail.com
    for example, and would like to paint the input line red once I figure out the domain is wrong. I also want to assume it is correct if no domain is yet included - so that “matic.” is valid just as “matic.zav@gmail.com” is. Any ideas? 😄
    d
    • 2
    • 4
  • a

    agartha

    01/21/2018, 1:35 PM
    @matic something like this? https://regexr.com/3jha3 <-- sorry, missed a character, updated link
  • m

    matic

    01/21/2018, 1:37 PM
    Yes, perfect! Do you maybe know how can I make it also valid for “matic.zav@gm”?
  • m

    matic

    01/21/2018, 1:38 PM
    Because there’s a gap when typing when there’s no match
    h
    a
    • 3
    • 8
  • a

    agartha

    01/21/2018, 1:43 PM
    @matic Lol, this works: https://regexr.com/3jhac
    m
    • 2
    • 3
  • n

    Nethan

    01/21/2018, 2:33 PM
    Hi everyone! I'm trying to start the tutorial react+realy, but I get invalid schema in 'graphcool init...' Is there a way to solve?
    n
    p
    +2
    • 5
    • 8
  • h

    harrisrobin

    01/21/2018, 5:06 PM
    anyone had any success following this guide to deploy to digitalocean? https://www.prismagraphql.com/docs/tutorials/cluster-deployment/digital-ocean-(docker-machine)-texoo9aemu
  • e

    ehodges

    01/21/2018, 5:54 PM
    CLI command to find the prisma endpoint, please?
    e
    • 2
    • 2
  • e

    Emi

    01/21/2018, 5:56 PM
    What's the best way to access to the local database with prisma?
  • p

    picosam

    01/21/2018, 6:22 PM
    Anyone using a TDD flow/approach with Prisma already?
    • 1
    • 1
  • m

    max

    01/21/2018, 7:02 PM
    Has anyone heard anything about Resolver Payload Types #743? https://github.com/graphcool/prisma/issues/743
  • e

    ehodges

    01/21/2018, 8:36 PM
    I ran prisma deploy but not all of the schema items are showing up in the prisma.graphql file.
  • t

    ToraRTC

    01/21/2018, 8:42 PM
    I'm hoping someone can help me understand what's going on with the Integrations Tab in the console. I've heard it referred to as "Legacy" and for older projects. 1. Is this accurate. 2. Why is it still there for new projects if that's the case.
    h
    r
    • 3
    • 12
  • t

    ToraRTC

    01/21/2018, 8:43 PM
    Basically the console makes it seems like the integrations tab is the way to enable those integrations, but the links to the docs in those windows are broken and the docs don't mention anything about this tab.
  • t

    ToraRTC

    01/21/2018, 8:47 PM
    At the end of the day, I'm just trying to setup email auth for a React Native app and am finding a disconnect between the CLI and Console in the docs
    m
    • 2
    • 26
  • h

    harrisrobin

    01/21/2018, 8:59 PM
    When I deploy my prisma service to Prisma Cloud i do not seem to have access to my 'app' tab. I only get the database so all my custom resolvers don't work
  • h

    harrisrobin

    01/21/2018, 8:59 PM
    anyone knows why?
  • h

    harrisrobin

    01/21/2018, 9:00 PM
    i modelled my app around my custom queries/resolvers and now when i deploy im just getting all the generated stuff and not my custom types etc
    h
    • 2
    • 14
  • t

    ToraRTC

    01/21/2018, 9:57 PM
    On the quickstart page the docs say to use
    npm install -g graphcool
    but on the quickstart reactnative page it says to use
    npm install -g graphcool-framework
    . The docs refer to both graphcool and graphcool-framework as the "Graphcool CLI:" which of these should be used and which is the actual graphcool cli
  • h

    harrisrobin

    01/21/2018, 9:58 PM
    With node-typescript basic, I run into the following when trying to deploy to now:
  • t

    ToraRTC

    01/21/2018, 10:13 PM
    Also confused as to why all of the links in the docs referring to the graph cool cli read me link to the Prisma docs
    l
    h
    +3
    • 6
    • 47
  • s

    serianox

    01/21/2018, 10:52 PM
    Hi guys, just trying out Prisma in depth and its really nice. I wonder if its possible to make raw sql querys against the database to get some aggregates that are not currently supported in the Prisma API ?
  • h

    harrisrobin

    01/21/2018, 11:24 PM
    @serianox no it's not currently possible. you can however connect to the sql database by connecting via the docker instance but you can't use Prisma to send raw SQL queries
  • h

    harrisrobin

    01/21/2018, 11:24 PM
    I hope they support that at some point. i had the same issue with the lack of aggregates but they are working on the most common use cases as we speak
  • h

    harrisrobin

    01/21/2018, 11:25 PM
    you can track it here: https://github.com/graphcool/prisma/issues/1312
  • w

    wbartussek

    01/22/2018, 6:11 AM
    I'm trying to use graphql-up. The video on YouTube is obviously outdated and doesn't help anymore. After having removed all my errors from my schema, graphql-up gives me a funny message: "You cannot create more than 10 GraphQL APIs per day. Please consider signing up for Graphcool for heavy usage." I don't have a single API! Obviously every erroneous attempt to generate an API is counted by the magic servers sponsored by Graphcool. This should be ocrrected, please.
  • d

    Dan

    01/22/2018, 6:18 AM
    How can I push in a mutation query?
    Copy code
    mutation {
      updateDataset(
        id:"cjcpru78oky7c0134oliodyku",
        dataRows:[
          {
            organizationId:"cjbzy5qvw019o0134bhhdpzo8",
            rowData: "test",
            createdById:"cjbzy5qxs019r0134qepn57xh",
          }
        ]
      ){
        id
      }
    }
    Removes all the current dataRows and replaces them with the new one. However I want to "push" this new dataRow onto the list
    m
    • 2
    • 1
  • d

    Dan

    01/22/2018, 7:26 AM
    I see that the above is supported in graph cool 1.0? Is there an upgrade guide? Can I use 1.0 in production?
1...533534535...637Latest