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

    melv

    01/24/2018, 10:07 AM
    is it just me ? can anyone login into prisma
    prisma login
    gives:
    Copy code
    ERROR: GraphQL Error (Code: 502)
    
    {
      "error": "An error occured with your deployment\n",
      "status": 502
    }
    n
    • 2
    • 2
  • r

    rajit

    01/24/2018, 11:23 AM
    I'm currently on the Free plan experiencing a lot of periods of 504s or 502s coming back from GraphCool. Yesterday there was a bout and it happened again this morning. If I had been on the $35/month paid plan, would it have been the same or could we expect improved reliability?
    t
    r
    +3
    • 6
    • 18
  • n

    Nikhil

    01/24/2018, 11:52 AM
    Hi, I am trying to deploy app on the remote cluster for that I have added a new cluster(Provided endpoint and private key). However, When I run the prisma deploy command I am getting following error.
    Copy code
    ERROR: Authentication token is invalid: Token can't be decoded: Illegal base64 character 5c
    
    {
      "data": {
        "addProject": null
      },
      "errors": [
        {
          "locations": [
            {
              "line": 2,
              "column": 9
            }
          ],
          "path": [
            "addProject"
          ],
          "code": 3015,
          "message": "Authentication token is invalid: Token can't be decoded: Illegal base64 character 5c",
          "requestId": "cluster:cluster:cjct06dmb000z0123x14o6r1p"
        }
      ],
      "status": 200
    }
    n
    • 2
    • 2
  • d

    Daniel Min

    01/24/2018, 12:19 PM
    I just posted an issue on github project. someone please can take a look and save my life 😢? https://github.com/graphcool/prisma/issues/1720
  • m

    mimica

    01/24/2018, 12:21 PM
    i am close to launch for our checkout platform (salesclerk.co) and we built it from ground up using graphcool. but we have struggled a bit recently with the 15 sec limit for function calls as some of our api calls especially with regards to payment exceeds 15 secs what do we do to increase our function call time to at least 40 sec
    n
    • 2
    • 1
  • h

    hvdklauw

    01/24/2018, 12:31 PM
    If I do a mutation in the prisma backend resolver to delete something and I want to delete something else too, how do I make sure both or neither happens (transaction?) Or is that already handled on some other level (on error -> rollback)? (Saw that cascade support will be added later, but how to handle that now?)
    m
    • 2
    • 2
  • r

    rohanray

    01/24/2018, 2:15 PM
    @nilan Please can you have a quick look
    Please_can_someone_help_me_with_the_below_relation_mapping_.txt
  • h

    harmony

    01/24/2018, 2:18 PM
    you can leave the
    @relation
    out completely
    r
    • 2
    • 1
  • h

    harmony

    01/24/2018, 2:18 PM
    that should work
  • u

    user

    01/24/2018, 2:20 PM
    @rajit commented on @rohanray’s file https://prisma.slack.com/files/U37ULN8RM/F8Y0GUB1T/Please_can_someone_help_me_with_the_below_relation_mapping_.txt: Heya, indeed you need to have "the other side" of the relation, like you've demonstrated. Why doesn't it seem logical?
    Please_can_someone_help_me_with_the_below_relation_mapping_.txt
  • u

    user

    01/24/2018, 2:21 PM
    @rajit commented on @rohanray’s file https://prisma.slack.com/files/U37ULN8RM/F8Y0GUB1T/Please_can_someone_help_me_with_the_below_relation_mapping_.txt: I think you're missing one thing — it should be one-to-many of teams-to-matches. So the
    matchA
    and
    matchB
    fields should be lists
    Please_can_someone_help_me_with_the_below_relation_mapping_.txt
  • r

    rohanray

    01/24/2018, 2:24 PM
  • u

    user

    01/24/2018, 2:25 PM
    @rohanray commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : @rajit @harmony I pasted a quick table view of how it would look in a traditional RDBMS. As you can see, I don't need to refer
    matchId
    in
    Team
    table. How do I get to replicate this model in prisma db service
  • u

    user

    01/24/2018, 2:26 PM
    @rajit commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : To the best of my knowledge this service requires it
  • u

    user

    01/24/2018, 2:28 PM
    @rajit commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : It does a number of things a traditional RDBMS doesn't do, for instance exposing the GraphQL interface. The requirement might be related to that
  • b

    bryan

    01/24/2018, 2:36 PM
    hey guys, great work with chromeless! not sure if this is the right place to ask questions but i'll give it a try: i am trying to use chromeless to remotely start a headless chrome on aws to test a webrtc service app and for this i need chrome to play a fake video as webcam using flag --use-file-for-fake-video-capture. i cant find where chromeless starts the remote chrome to insert the flag... can anyone help?
  • g

    Goncy

    01/24/2018, 2:39 PM
    Hi Guys!, one question, i was developing my entire app in the local cluster, and now i want to host it on the us cluster, how can i do that?
    i
    • 2
    • 1
  • g

    Goncy

    01/24/2018, 2:39 PM
    Tried changing the cluster name on the env file, didn’t worked
  • u

    user

    01/24/2018, 2:48 PM
    @rohanray commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : @rajit are you suggesting that the only way I can replicate above is having 2 separate references to match in team table?
  • l

    logan

    01/24/2018, 2:51 PM
    has anyone gotten a Type subscription working with prisma?
  • u

    user

    01/24/2018, 3:00 PM
    @rajit commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : Oh, I think I misunderstood your problem. You want your matches to have a
    teamA
    and
    teamB
    reference but you'd prefer teams to just have a
    matches
    reference. I don't know of a way to do that with Prisma, but hopefully someone else can chime in if they know of a way
  • m

    Marco

    01/24/2018, 3:02 PM
    hi guys! i need to resolve the next problem, perhaps is very simple, but i will ask anyways. What is the query that get all the post with some param in special and not unique (only can deploy the query when the field are unique). Here's my query
  • m

    Marco

    01/24/2018, 3:02 PM
    -.txt
  • u

    user

    01/24/2018, 3:16 PM
    @rohanray commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : @rajit yes indeed! It's a very basic requirement in my opinion. Team table will have only team details i.e. team name ... matches will have data like team1 v/s team2. can't figure out how I can get that in prisma
  • u

    user

    01/24/2018, 3:25 PM
    @rajit commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : I think Prisma has some way to go before it'll do everything a traditional RDBMS does. For instance the migration support right now is very limited but they're working on it
  • u

    user

    01/24/2018, 3:33 PM
    @rohanray commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : true
  • u

    user

    01/24/2018, 3:34 PM
    @rohanray commented on @rohanray’s file

    https://prisma.slack.com/files/U37ULN8RM/F8YU9M9P1/screen_shot_2018-01-24_at_7.53.30_pm.pngâ–¾

    : thanks for your inputs thou! 🙂
  • m

    McArthur

    01/24/2018, 4:26 PM
    Is there a way to contact graphcool about issues with one of their paid plans?
    s
    n
    • 3
    • 3
  • j

    juicycleff

    01/24/2018, 4:44 PM
    hey guys is there support for @live directive on prisma yet?
  • j

    juicycleff

    01/24/2018, 4:48 PM
    And which url is used for websocket on the client side? eg. ws://localhost:4000 or ws://localhost:4466/example/dev
1...539540541...637Latest