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

    timwis

    10/28/2017, 8:46 PM
    Is there any advantage/disadvantage to these 2 ways to write this permission query? I see the former more often in docs, but the latter seems more logical:
    -.php
  • t

    timwis

    10/28/2017, 8:52 PM
    Also, are the
    SomeXYZExists
    queries documented anywhere?
    n
    • 2
    • 2
  • n

    nephix

    10/28/2017, 10:36 PM
    Is it allowed to post job offers for graphql/graphcool developers here or is there a specific channel?
    n
    • 2
    • 1
  • t

    timwis

    10/28/2017, 10:44 PM
    Hey folks, I’m getting an error within my resolver function that,
    The field 'abc' on type 'XYZ' is required. Performing this mutation would violate the constraint
    even though I can see in the same log that I’m passing a variable called
    abcId
    — isn’t that how you’re supposed to write mutations with relations?
    • 1
    • 1
  • m

    menrise

    10/28/2017, 11:07 PM
    Hi, have graphcool tool like cron job?
    m
    • 2
    • 1
  • t

    Tavo

    10/29/2017, 12:20 AM
    Does anyone know what this mean?
    {"error":"Function returned invalid status code: 0. Raw body: empty.last"}
    a
    • 2
    • 31
  • t

    Tavo

    10/29/2017, 12:30 AM
    or rather if the functions work differently from a week ago lol
    • 1
    • 1
  • s

    samjbmason

    10/29/2017, 8:35 AM
    Has anyone got any examples of setting up oauth without using auth0
    n
    • 2
    • 1
  • s

    samjbmason

    10/29/2017, 8:37 AM
    And another question how granular can I set the permissions on a model can I set permissions on a particular field in a model?
    n
    • 2
    • 1
  • m

    mimica

    10/29/2017, 8:54 AM
    Hi guys. i have migrated my project to use the framework . i tested out a resolver using invoke-local and it works. but the function still returns errors when testing via the playground . what could be causing this issue
    n
    • 2
    • 1
  • f

    florian

    10/29/2017, 9:27 AM
    Yes you can define CRUD permissions at the field level
    👍 1
  • d

    divyendu

    10/29/2017, 9:59 AM
    Is there a way to add a new field with unique data on a type with existing data? My approach is add a new nullable field, then change the data and add unique values to this new field via looped mutation (script) and then add @isUnique to it. Is there a better way?
    a
    • 2
    • 1
  • a

    AnzeM

    10/29/2017, 11:14 AM
    Hey, does anybody know if free plan 100K functions calls is quota per month or is this one time thing - when you reach this value your app stops working?
    j
    i
    • 3
    • 4
  • m

    matic

    10/29/2017, 1:19 PM
    Is it possible to make
    File
    non-system type?
    👍 1
  • r

    rishavs

    10/29/2017, 1:41 PM
    hi. are there some goods tutorials of using gcool with elm?
    n
    • 2
    • 1
  • j

    jvbianchi

    10/29/2017, 2:49 PM
    Does anyone else saw this error? https://www.graph.cool/forum/t/no-field-with-id-xxxxxx-project-id/1415
    a
    • 2
    • 2
  • j

    Julien Heller

    10/29/2017, 10:56 PM
    Hey guys, how would I used multiple
    types.graphql
    files in a graphcool project?
  • j

    Julien Heller

    10/29/2017, 10:57 PM
    Can I just have them nested deeper than top-level, which then scopes them to that current directory + children?
    n
    • 2
    • 1
  • m

    Michael Jones

    10/29/2017, 11:27 PM
    Hello, anyone have any idea how to go about downloading the full
    schema.graphql
    from the local
    types.graphql
    on the CLI? Optimally I would like to download a new schema for every time I run
    relay-compiler
    . Any ideas would be perfect! Thank You
    a
    • 2
    • 4
  • j

    Julien Heller

    10/30/2017, 1:15 AM
    Are there any GraphQL-focused (or at least compatible) API Gateway implementations anyone can recommend?
    a
    • 2
    • 6
  • f

    falconerd

    10/30/2017, 3:16 AM
    It seems Graphcool are in the process of updating their docs. Does anyone know if there’s a mutation for updating a user’s password assuming we use the email auth provider?
  • f

    falconerd

    10/30/2017, 3:29 AM
    Okay, so I had to disable the auth provider to change the password field… I’m confused as to how that makes sense. Are we discouraged from using this auth method?
    n
    • 2
    • 1
  • s

    samjbmason

    10/30/2017, 7:46 AM
    I’m currently building functionality that would allow users to upvote a post. However I want only allow to do it once per post. Does anyone know how I could do that. Should I store the user Id in a list once they have upvoted and check against that?
    d
    f
    n
    • 4
    • 6
  • k

    Kat

    10/30/2017, 9:45 AM
    whats the correct way to return an error in a function? I'm doing throw new Error('An unexpected error occured.') in my async function but it doesnt seem to hitting it.. just getting an error "Function returned invalid status code: 0. Raw body"
    a
    • 2
    • 2
  • p

    Pieter

    10/30/2017, 9:57 AM
    I am using graphcool with auth0 integration. I would like to migrate some users from our db into the graphcool db but for that I'd first need to create a auth0 account for each user right? Do I then need to use the createUser mutation with a
    idToken
    (that needs to be generated via auth0 auth api) or what? Is there no simpler way to do this?
    a
    p
    n
    • 4
    • 34
  • g

    glen

    10/30/2017, 11:21 AM
    how do you guys handle env vars per environment (dev, staging, production)? I can only think of two ways - pass them manually when running
    graphcool deploy
    or a shells script per environment e.g
    ./deploy-prd.sh
    f
    p
    +2
    • 5
    • 9
  • p

    panzupa

    10/30/2017, 1:26 PM
    Anyone else has problem with updating functions via web console? They don't want to save. When you change code and click test run old version of code is executed without recent changes?
    a
    n
    • 3
    • 16
  • m

    mwickett

    10/30/2017, 1:42 PM
    Is the console down for anyone else? It’s waiting for api.graph.cool and there are no errors in the browser console.
    🚨 1
    a
    m
    • 3
    • 6
  • t

    tomhut

    10/30/2017, 1:43 PM
    Yup, dosn’t seem to be loading for me either.
  • f

    frankspin

    10/30/2017, 2:58 PM
    Does anybody have access to the new graph.cool cloud dashboard?
    a
    • 2
    • 3
1...401402403...637Latest