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

    johhansantana

    07/14/2017, 12:50 AM
    got it
  • m

    mike.johnson

    07/14/2017, 1:27 AM
    is location.reload() the only way to update login/logout status?
  • v

    visualbbasic

    07/14/2017, 3:15 AM
    thanks
  • v

    visualbbasic

    07/14/2017, 3:15 AM
    I love your relay modern tutorial
    🎉 1
  • v

    visualbbasic

    07/14/2017, 3:15 AM
    😃..
  • m

    matty

    07/14/2017, 6:08 AM
    @mike.johnson you should be able to reset your client store and any other client-held pieces of data
    m
    • 2
    • 1
  • j

    jessicaalonso

    07/14/2017, 6:14 AM
    Good evening everyone! I was wondering if there's any reason to suspect flakiness on websocket subscriptions right now - I'm testing something that was working smoothly earlier this evening and now its a bit hit or miss
    n
    • 2
    • 20
  • a

    auser

    07/14/2017, 6:43 AM
    fyi, I keep getting this error when in the playground:

    http://d.pr/i/XHYxLr.png▾

    n
    • 2
    • 3
  • a

    auser

    07/14/2017, 6:43 AM
    not sure why that keeps happening
  • b

    bogdan

    07/14/2017, 9:25 AM
    hello, is it possible to automatically create a new node when another node is created, for example when you create a new User node, then automatically create a Role node and assign it to the User? I’ve took a look at Functions but I didn’t find any information about this
    n
    • 2
    • 16
  • j

    johhansantana

    07/14/2017, 1:28 PM
    hey guys, I was wondering, I know graph.cool is a service but what would happen if graph.cool closes or shutdown, I am so afraid of this since that parse.com thing happened but they made it open source though, so I'm wondering if it's safe to use graph.cool and what would happen if it closes
    n
    • 2
    • 3
  • d

    davemcorwin

    07/14/2017, 1:49 PM
    @johhansantana @schickling addresses this in https://changelog.com/podcast/255. In short, they are thinking about this already and their general plan is to go open source in a similar situation.
    👌 1
  • c

    charlieroth

    07/14/2017, 1:58 PM
    So I am getting this error in my console and I don't really understand what it is asking me to fix?
  • c

    charlieroth

    07/14/2017, 1:58 PM
    This is my schema for my app
  • c

    charlieroth

    07/14/2017, 1:58 PM
    Any help?
    n
    • 2
    • 7
  • c

    claym

    07/14/2017, 2:31 PM
    I'd like to create something like a stored procedure - data in one type gets updated / added, this kicks off a job that does a couple queries, averages out a value, updates the field in another type. Is a server side subscription what i want here? And if it is, is there a guide/tutorial to walk me through it because i'm an idiot? 😄
    n
    • 2
    • 5
  • m

    mwickett

    07/14/2017, 3:11 PM
    Is importing
    gql
    from ‘react-apollo’ the same as from ‘graphql-tag’? (Aka, do I not need graphql-tag?)
    n
    • 2
    • 3
  • a

    amann

    07/14/2017, 3:19 PM
    Anyone have tips for batching records into graphcool?
  • a

    amann

    07/14/2017, 3:20 PM
    I'm getting a graphql error code 504 and only half of my records get put into the DB
    a
    n
    • 3
    • 5
  • k

    katopz

    07/14/2017, 3:44 PM
    @nilan I think I can help with this https://github.com/graphcool/feature-requests/issues/43#issuecomment-315124085 how can I join? 🙂
    🎉 1
    n
    • 2
    • 1
  • s

    samjbmason

    07/14/2017, 3:52 PM
    Im trying to save a dateTime field and for some reason the vlaue its sending is correct but then the value saved in graph.cool is an hour ahead
  • s

    samjbmason

    07/14/2017, 3:52 PM
    Is this osmething to do with timezones?
    a
    n
    • 3
    • 13
  • m

    mwickett

    07/14/2017, 4:45 PM
    Anyone been through the process of creating unique slugs? I’ve got a function to create a slug, but I need some help thinking through the process to check a new slug against all existing ones to ensure it’s unique - can I run a query server side?
    n
    a
    • 3
    • 16
  • p

    patstrz

    07/14/2017, 5:30 PM
    Hi I am trying to write a permission to make sure that a user can only update their own information, not other users’ but it returns “Insufficient permissions … ” in cases that it should permit the mutation.
    ✅ 1
  • n

    nilan

    07/14/2017, 5:31 PM
    @patstrz can you show the exact error message?
  • p

    patstrz

    07/14/2017, 5:32 PM
    Copy code
    {
      "data": {
        "updateUser": null
      },
      "errors": [
        {
          "locations": [
            {
              "line": 2,
              "column": 3
            }
          ],
          "path": [
            "updateUser"
          ],
          "code": 3008,
          "message": "Insufficient permissions for this mutation",
          "requestId": "cj544tz0elfa90170qqtljyml"
        }
      ]
    }
    n
    • 2
    • 1
  • m

    mike.johnson

    07/14/2017, 6:47 PM
    Trying to get a rails application mograted over to graph.cool. I thought it would be easy to write mutations for each rails model in a rake task, but I'm having trouble with rails thinking the query fields are symbols to be processed... What's the best way to get data from an exisiting app into graph.cool?
    c
    n
    • 3
    • 98
  • m

    martin

    07/14/2017, 7:53 PM
    Been frequently receiving websocket subscription errors during testing on
    localhost
    . Is this normal?
    ✅ 1
  • n

    nilan

    07/14/2017, 7:54 PM
    @martin what's the
    susbcription-transport-ws
    version you use and how are you initializing it
    m
    j
    r
    • 4
    • 11
  • m

    marika.w

    07/14/2017, 7:56 PM
    I'm getting similar websocket connection error too @martin
    n
    • 2
    • 2
1...269270271...637Latest