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

    witek

    09/05/2017, 10:55 AM
    Hi, I have troubles understanding the flow between graph.cool and Auth0. I have already integrated graph.cool with Auth0, but Im not sure how should I use the generated createUser mutation
    a
    d
    • 3
    • 10
  • d

    devoid

    09/05/2017, 10:57 AM
    Hi everyone ! Thanks for the invite 🙂
    🎉 1
    👋🏻 1
    👍 1
  • a

    amandoabreu

    09/05/2017, 11:59 AM
    Hey, where can I get an invite for schema extensions? 🙂
    a
    • 2
    • 1
  • e

    echyzen

    09/05/2017, 2:24 PM
    Hi there I didn't understand this syntax it's ES6 syntax like template litteral syntax?
    Copy code
    graphql`
      fragment Link_link on Link {
        id
        description
        url
      }
    `
  • e

    echyzen

    09/05/2017, 2:24 PM
    why there is not parenthesis wrap graphql function parameter?
  • e

    echyzen

    09/05/2017, 2:25 PM
    it's a noob question, isn't?
    a
    • 2
    • 6
  • p

    Pieter

    09/05/2017, 3:16 PM
    Fetch API cannot load <https://d0b5iw4041.execute-api.eu-west-1.amazonaws.com/prod/create/>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://console.graph.cool>' is therefore not allowed access. The response had HTTP status code 502. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
  • p

    Pieter

    09/05/2017, 3:17 PM
    Tried to update a serverless function and then it just froze on the loading spinner screen. I opened my console and found that ^
  • p

    Pieter

    09/05/2017, 3:17 PM
    Seen it happen before. Does this happen when graphcool updates are taking place or what?
  • p

    Pieter

    09/05/2017, 3:20 PM
    nevermind, seems like it crashed when I had a syntax error in my function
    👍🏻 1
  • p

    Pieter

    09/05/2017, 3:20 PM
    Would be lovely if we could get some intellisense 🙂
    a
    • 2
    • 4
  • v

    valein

    09/05/2017, 3:31 PM
    I have a type that for some users have no nodes. Running a query on this node for those users yields me an "Insufficient Permissions" error instead of an empty array. Is this expected behaviour or is my permission query the culprit? Read permission query for the Company type, applied on all fields:
    Copy code
    query ($user_id: ID!, $node_id: ID!) {
      SomeCompanyExists(
        filter: {
          id: $node_id,
          owner: {
            id: $user_id
          }
        }
      )
    }
    d
    • 2
    • 22
  • a

    antho1404

    09/05/2017, 4:39 PM
    I just released a very basic tool to save your permissions in your code base like the graphcool cli to pull your schema, this will just dump your permissions, some of you may be interested
  • a

    antho1404

    09/05/2017, 4:39 PM
    https://github.com/antho1404/graphcool-permission-sync
  • a

    antho1404

    09/05/2017, 4:40 PM
    it’s basic from now but it will probably evolve 🙂
  • s

    sorenbs

    09/05/2017, 5:16 PM
    That’s awesome @antho1404 🙂 We are actually working on adding this functionality directly in the Graphcool CLI. Would you be interested in joining the beta?
  • a

    antho1404

    09/05/2017, 5:20 PM
    yes definitely, i know you plan to add this but i didn’t wanted to wait because i don’t know the release date, but i would love to try the beta if you have something already
  • d

    devoid

    09/05/2017, 7:25 PM
    How can I generate my models for my typescript project with graphcool schema ?
  • a

    amandoabreu

    09/05/2017, 7:28 PM
    Hey @nilan, sorry for the direct messaging, would it be possible to get an invite for beta for schema extensions? Cannot wait to try it 🙂 thank you very much!
    👍 1
  • s

    scolab.andre

    09/05/2017, 8:24 PM
    Anyone have a documentation link for USER_GENDER type in graph.cool?
    a
    • 2
    • 2
  • c

    corey

    09/05/2017, 8:33 PM
    What’s the best way to try out schema changes without disrupting the production schema?
  • c

    corey

    09/05/2017, 8:33 PM
    Is there a quick way to spin up a cloned dev version of a graph.cool instance?
    s
    • 2
    • 2
  • s

    scolab.andre

    09/05/2017, 8:33 PM
    You can clone your production
  • s

    sergiog90

    09/05/2017, 8:59 PM
    Hi, i’m new in GraphQl and i’m starting in graphcool. I started a simple project but i’m unable to restrict get some record to owner. Example: User (id, name, posts) Post (id, text, user) When i have a query like next, how I can only return post owned by authenticated user? I trying with permission but i’m unable to set correctly.
    Copy code
    query {
      allPosts {
        text
        user {
          name
        }  
      }
    }
    Thanks for your time!!
    a
    • 2
    • 4
  • j

    jrhicks

    09/05/2017, 9:01 PM
    Hello - I’m looking for a graph.cool consultant who can create a react app with 3 screens
    a
    h
    • 3
    • 2
  • a

    ameistad

    09/05/2017, 9:48 PM
    I see that nested delete mutations are currently not supported, but is it possible to do nested update mutations?
  • d

    dardub

    09/05/2017, 10:14 PM
    Anyone have any tips for debugging the error:
    Copy code
    You are referencing a node that does not exist. Please check your mutation to make sure you are only creating edges between existing nodes.
    I copied my query into the playground and it works as expected. But in apollo I get the error. And the error does not provide any info as to what node it's referencing. Most of my fields are required so I can't go through and start removing fields to find the problematic one (if there is one).
  • d

    dardub

    09/05/2017, 10:15 PM
    My hunch is it may be the enum field ServiceType.
  • d

    dardub

    09/05/2017, 10:23 PM
    Found some bad data. That's probably it.
  • a

    alburdette619

    09/05/2017, 11:43 PM
    Hey, just getting started. If I have types A and B and A has many Bs, but B has no relation to A. How do I accomplish that? A relation seems wrong as that seemingly creates fields on B. I feel like I'm missing something obvious.
    a
    • 2
    • 6
1...330331332...637Latest