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

    jonathanheron

    09/25/2017, 5:29 PM
    I spent an hour chasing down the cause of transition framerate jank in a VueJS app at the weekend — it turned out it was caused by Graphcool consistently responding too quickly to queries, and triggering DOM updates midway through the transition 😄
    a
    • 2
    • 4
  • j

    jonathanheron

    09/25/2017, 5:30 PM
    As problems go, <50ms responses to queries is a nice one to have
    n
    • 2
    • 1
  • m

    merott

    09/25/2017, 7:26 PM
    Is something up with Graphcool? Can’t access the console.
  • j

    jvbianchi

    09/25/2017, 7:29 PM
    Me too I get this error:
  • a

    agartha

    09/25/2017, 7:57 PM
    @merott @jvbianchi Issue seems to be resolved (at least, everything is working here). Can you confirm?
    👍 1
    n
    • 2
    • 1
  • j

    jvbianchi

    09/25/2017, 8:08 PM
    yes It has been resolved for me
  • y

    yunjia

    09/25/2017, 8:24 PM
    Is there any good way to ‘transfer’ the functions (both subscription and pipeline) from one project to another? Or I have to simply copy everything across?
    👍 1
    a
    a
    • 3
    • 7
  • c

    chandlervdw

    09/25/2017, 11:32 PM
    Does anyone understand what
    gc-pat
    is supposed to be in this tutorial for using graph.cool with Stripe? https://www.graph.cool/docs/tutorials/stripe-payments-with-mutation-callbacks-using-micro-and-now-soiyaquah7/
    a
    • 2
    • 2
  • c

    chandlervdw

    09/25/2017, 11:33 PM
    Additionally, this is unclear:
    >> To protect our microservices from unauthorized access, let’s generate two secret passphrases, we’ll use length 32 here. Let’s call them
    create-secret
    and
    charge-secret
    .
    a
    • 2
    • 1
  • i

    iamclaytonray

    09/25/2017, 11:51 PM
    As much as I would love to endlessly scroll through all of these messages, does anyone know if Stripe will be an integration in the future?
    a
    • 2
    • 3
  • a

    amann

    09/26/2017, 12:49 AM
    Any plans to support node 8 for graphcool functions? If so is there a timeline?
  • z

    zaksingh

    09/26/2017, 1:11 AM
    Is there any reason not to use subscriptions? It seems to offload the live-update process from apollo and onto the queries themselves, which appears much easier
  • c

    coolboyjules

    09/26/2017, 1:19 AM
    @amann currently you can't do that I think. I've tried but it just didn't work. I think they are working on updating the version soon
  • c

    coolboyjules

    09/26/2017, 1:20 AM
    https://www.graph.cool/forum/t/why-not-use-subscriptions-for-everything/496
  • c

    coolboyjules

    09/26/2017, 1:20 AM
    @zaksingh check out this thread
  • j

    joshjoe

    09/26/2017, 3:10 AM
    If I do this.
    Copy code
    mutation updateReport($reportId: ID!, $logs: [ID!]){
        updateReport(
          id: $reportId
          logsIds: $logs
          userId: $userId
        ), {
          id
        	logs{
            id
            startedAtOdometerReading
          }
        }
      }
    p
    • 2
    • 2
  • j

    joshjoe

    09/26/2017, 3:11 AM
    I get insufficient permissions, but if I add
    Copy code
    logs: {
            userId: $userId
          }
  • j

    joshjoe

    09/26/2017, 3:11 AM
    after userId it creates a new log instead of updating the logs on this report
  • j

    joshjoe

    09/26/2017, 3:11 AM
    Any suggestions?
  • d

    dannyql

    09/26/2017, 5:23 AM
    Oheyo! Does anyone know if there is a limit on the number of Graph.cool Types you can have?
  • d

    dannyql

    09/26/2017, 5:31 AM
    If I want to be able to associate a certain Type with any other Type is there a way to make a global
    @relation
    ?
  • d

    dannyql

    09/26/2017, 5:32 AM
    Like say I have a Comments Type that I want to put on Pages, Posts, Videos, and Products
  • d

    dannyql

    09/26/2017, 5:32 AM
    Do I have to create a separate relation for each?
    a
    • 2
    • 1
  • d

    dannyql

    09/26/2017, 6:02 AM
    Is that what Interfaces are for?
    i
    • 2
    • 5
  • f

    florian

    09/26/2017, 6:39 AM
    Hi, I have been playing with the beta cli and it's really awesome ! While reading the
    next
    docs, in here https://docs-next.graph.cool/reference/database/overview-viuf8uus7o I read
    Graphcool uses a SQL database under the hood. In the hosted version of Graphcool, every project comes with an instance of AWS Aurora. In the self-hosted version, it's possible to plug in other databases like MySQL.
  • f

    florian

    09/26/2017, 6:40 AM
    Is it possible to self host graphcool ???
    a
    • 2
    • 3
  • t

    tomaash

    09/26/2017, 9:25 AM
    Hey guys, anybody has recent experience with subscriptions? It seems that
    addGraphQLSubscriptions
    is no longer part of the
    subscriptions-transport-ws
    package, and all the examples reference it (https://blog.graph.cool/how-to-build-a-real-time-chat-with-graphql-subscriptions-and-apollo-d4004369b0d4)
  • t

    tomaash

    09/26/2017, 9:26 AM
    Nevermind, I think I've found the answer: https://www.graph.cool/forum/t/typeerror-during-the-subcriptions-part-of-the-howtographql-tutorial-on-addgraphqlsubscriptions/934
  • t

    tomaash

    09/26/2017, 9:31 AM
    As Apollo in version 0.9 deprecates addGraphQLSubscriptions in favor of Apollo Link (https://dev-blog.apollodata.com/apollo-link-the-modular-graphql-network-stack-3b6d5fcf9244) the solution was to use the old version (0.8.3) of the
    subscriptions-transport-ws
    package. Is Apollo Link currently supported by graph.cool, or are some changes necessary to support it?
  • a

    agartha

    09/26/2017, 10:22 AM
    @tomaash If you follow the link in this comment: https://github.com/graphcool/content/issues/292#issuecomment-331789499 It will show you the basic implementation using Apollo Link.
1...350351352...637Latest