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

    nish

    04/22/2017, 3:58 PM
  • n

    nilan

    04/22/2017, 3:59 PM
    Thanks @nish! The desktop pricing page is accurate, we'll fix this as soon as possible.
  • n

    nish

    04/22/2017, 3:59 PM
    No problem.
  • a

    artyom

    04/22/2017, 4:19 PM
    @dmaz 🎉 you’re here, amazing! welcome to graphcool 👋
  • a

    artyom

    04/22/2017, 7:43 PM
    🙌 @detector90 @sridatta19 @davherrmann whoop, hello there! 🙌
  • a

    artyom

    04/22/2017, 10:05 PM
    👋 @daraghmoran welcome to graphcool
  • p

    phil

    04/23/2017, 6:27 AM
    I just started getting auth errors (using Auth0 with
    HS256
    ). The error is
    Copy code
    The provided idToken is invalid
    When creating a new user. This was working before, I heard there was some issue with Auth0 and
    RS256
    not working with graph.cool. Any ideas?.
    n
    • 2
    • 2
  • p

    phil

    04/23/2017, 6:30 AM
    Mutation:
    Copy code
    mutation CreateUser ($idToken: String!, $email: String!, $picture: String!){
            createUser(
              authProvider: {auth0: { idToken: $idToken }},
              email: $email,
              picture: $picture,
            ) {
              id
            }
          }
  • p

    phil

    04/23/2017, 6:31 AM
    example token (obfuscated):
    eyJ0eXAiOiJKV1QiLCJhbGcieiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3RlYW1kYidXRoMC5jb20vIiwic3ViIjoiZW1haWx8NTg3MzEwMmI5ODQyMGY5YTExYjllMjAxIiwiYXVkIjoiOGwwdUN0QWFLcWdrZ1M5ZllJREpMMDJGNml4Z3poZk8iLCJleHAiOjE0OTI5NjQ1MTYsImlqdCI6MTQ5MjkyODUxNn0.87U7EmyFUWSxMWTKSNJY6J6cyZojG9XxrPFCZbbqMQW
  • s

    sdubois

    04/23/2017, 10:39 AM
    Hi! FYI I'm apparently blocked again from migrating my old app to use Graphcool files because of this: https://github.com/graphcool/feature-requests/issues/180
    a
    • 2
    • 2
  • a

    artyom

    04/23/2017, 5:01 PM
    hey everyone, enjoy your Sunday with graphcool @bryce-richards @d2burke @hibariya @anders @filippofilip @jin_yi @mtanzer 🙌
  • n

    notrab

    04/23/2017, 5:57 PM
    Is the following type of query possible with Graph.cool/GraphQL?
    Copy code
    return new Promise((resolve, reject) => {
        _this.aggregate([
          {$match: {url}},
          {$group: {
            _id: "$emoji",
            count: {$sum: 1},
            ips: {$push: "$ip"}
          }},
          {$project: {
            _id: 0,
            emoji: "$_id",
            count: 1,
            reacted: {
              $setIsSubset: [[ip], "$ips" ]
            }
          }}
        ], (err, result) => {
          if (err) return reject(err)
    
          resolve(result)
        })
    n
    • 2
    • 60
  • p

    patrickj

    04/23/2017, 10:58 PM
    Suddenly nothing seems to work for me. Is it just me? Getting this error: { "requestId": "cj1van6zbelr60123ftxbm101", "error": "Whoops. Looks like an internal server error. Please contact us in Slack (https://slack.graph.cool) and send us your Request ID: cj1van6zbelr60123ftxbm101" }
    i
    s
    • 3
    • 8
  • a

    azimuth3d

    04/24/2017, 7:12 AM
    Hello all
    a
    • 2
    • 1
  • a

    artyom

    04/24/2017, 8:14 AM
    great start into the week with so many awesome folks joining us! hello and welcome @raymond_waterman @gpascual @nguyendk82 @emartinez @asheng0709 @jthegedus @rahul142garg @sivajag @dynamitesushi 🙌 graphcool
  • a

    akadop

    04/24/2017, 9:20 AM
    How do I make a form that picks up and submits data that I have a mutation for?
  • a

    akadop

    04/24/2017, 9:43 AM
    This is my mutation, I know the mutation works because when I throw in variables in the playground it goes through successfully
    n
    • 2
    • 19
  • a

    akadop

    04/24/2017, 9:43 AM
    https://gist.github.com/akadop/5f2d44ee09a0f8be0f614f2e45f279b6
  • a

    artyom

    04/24/2017, 10:07 AM
    whoop, @myuan @sairamdevarashetty @sid, welcome! 🎉 graphcool
  • k

    kristinn

    04/24/2017, 10:38 AM
    Hello, I recently started to look into graphql and your examples are great ! I have a question about nested mutation. https://github.com/graphcool-examples/react-apollo-todo-example/blob/master/src/components/TodoApp.js#L52 Lets say we change the mutation to
    Copy code
    mutation addTodo($todo: AddTodoItem!) {
      createTodo(todo: todo) { id }
    }
    The AddTodoItem is:
    Copy code
    AddTodoItem: {
    text: String!,
    dates: TodoDates!
    }
    And TodoDates is:
    Copy code
    TodoDates: {
      created: String!,
      completed: String
    }
  • r

    rockchalkwushock

    04/24/2017, 2:33 PM
    Is there any tutorial offered for building out the
    graphql
    server with
    graphql-relay
    integrated?
    • 1
    • 1
  • r

    rockchalkwushock

    04/24/2017, 2:34 PM
    I want to understand how to build my own endpoint that
    relay
    can communicate with.
  • b

    barbatus

    04/24/2017, 3:38 PM
    Quick question: recently discovered that if I create a complex object in one mutation, say,
    user->-order->shipAddress
    , all entries are created in the DB correctly except one thing: shipAddress’s ID in the order is always null. While I if create order directly with the shipAddress, e.g.,
    order->shipAddress
    , shipAddress’s ID is always updated correctly in the order. Is it intentionally or do I miss anything?
    n
    • 2
    • 43
  • l

    lucfranken

    04/24/2017, 4:11 PM
    Is it possible to update associated resources at the same time in one query? This one works for creating new ones if you leave the id out. If you add the id it raises an error.
    Copy code
    mutation {
      updateItemType(
        id:"cj1nldl3fqvz50122qxrnqd99"
        name:"test"
        itemTypeLine: [
          {
            id: "cj1wbh8ycv3zm0165nz5de0q3"   <--- when removed it creates a new one but I want the existing resource
            amount: 5
          }
        ]
      ) {
        id
        name
        itemTypeLine {
          id
          amount
        }
      }
    }
    n
    • 2
    • 37
  • a

    artyom

    04/24/2017, 4:16 PM
    @bear hi there, welcome to graphcool 🖖
    👋 2
  • a

    artyom

    04/24/2017, 6:27 PM
    @mimccio 👋 hello, nice that you’re joining us today! 🙂
    👍 1
  • l

    lucfranken

    04/24/2017, 6:48 PM
    While testing the Algolia integration by making my first index: There is a warning: "Usage warning, Your changes will use up to 6 ..." It is on top of the query box and it block creating an index.
    n
    • 2
    • 19
  • l

    lucfranken

    04/24/2017, 6:50 PM
    Can proceed when I give the popup a higher z-index in css.
  • p

    patrickj

    04/24/2017, 7:31 PM
    Observation: While importing data, strings that include ellipsis (...) cause a "There is no such fragment..." error. Since it's not incorrect for text to include ellipses, I'd call this a bug.
    n
    • 2
    • 15
  • g

    grimborg

    04/24/2017, 7:49 PM
    Hello, how can I create permission queries? For example, I want to make sure users own the posts that they create, and that a user cannot delete someone else's post. I've checked the cms tutorial, which contains some example queries, but I don't see how to apply them. Thanks!
    n
    • 2
    • 7
1...163164165...637Latest