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

    Rory Kelly

    11/06/2017, 9:29 AM
    is the console down?
  • l

    lancej

    11/06/2017, 9:34 AM
    console seems down for me too
  • n

    nilan

    11/06/2017, 9:35 AM
    I am looking into this
    👍 4
    r
    l
    m
    • 4
    • 4
  • m

    mv

    11/06/2017, 9:39 AM
    yep, can't deploy anymore, I'm getting a 504 error
  • h

    hepin1989

    11/06/2017, 10:23 AM
    So graphcool is using sangria?
    n
    • 2
    • 2
  • j

    Jannis Pohlmann

    11/06/2017, 12:45 PM
    Hi! Is there a way to create Graphcool deployments from the CLI that are linked to a team? All deployments I’ve created so far are created under my personal account, with no other team members having access.
    n
    • 2
    • 16
  • d

    daniele

    11/06/2017, 1:24 PM
    hi guys when you do
    graphcool init
    it create also a folder
    src
    that folder is just a sort of
    test client
    correct? the only thing that really is needed is the ypes.graphcql?
    n
    • 2
    • 1
  • j

    Jannis Pohlmann

    11/06/2017, 1:33 PM
    Ah, there is another question I’ve been meaning to ask about. The service logs currently expose user passwords in plain text (e.g. the payload of
    signupUser
    and
    createUser
    ). Is there a way to prevent that?
    n
    • 2
    • 5
  • d

    daniele

    11/06/2017, 1:54 PM
    did my question make sense? or its' incorrect?
    a
    • 2
    • 15
  • j

    johhansantana

    11/06/2017, 2:50 PM
    in a custom resolver, how can I check if the user is authenticated?
    n
    • 2
    • 5
  • s

    senorcodecat

    11/06/2017, 3:02 PM
    Just curious, is anyone using just Graphcool for authorization vs Auth0? I’m thinking I could simplify my setup and eliminate Auth0.
  • s

    senorcodecat

    11/06/2017, 3:02 PM
    Btw, great work on the new docs. Beautiful UI and UX.
  • j

    joar

    11/06/2017, 3:07 PM
    @senorcodecat 👋 I really recommend it. Auth0 was way too restrictive imo
  • s

    senorcodecat

    11/06/2017, 3:08 PM
    checks to see if joar works for Graph.cool 😛
  • s

    senorcodecat

    11/06/2017, 3:09 PM
    was a PITA to get it all hooked up, but I’m not liking it now that I really only need FB authentication
  • s

    senorcodecat

    11/06/2017, 3:09 PM
    Trim the fat
  • j

    joar

    11/06/2017, 3:12 PM
    @senorcodecat Here’s a facebook template to get you started, works just fine: https://github.com/graphcool/templates/tree/master/auth/facebook
    👍 1
  • j

    joar

    11/06/2017, 3:30 PM
    Getting this in my resolvers all of a sudden
    Cannot find module ’/var/task/node_modules/bcrypt/lib/binding/bcrypt_lib.node
    n
    • 2
    • 1
  • j

    joar

    11/06/2017, 3:31 PM
    Anyone know how to fix?
  • j

    johhansantana

    11/06/2017, 3:38 PM
    Copy code
    const GraphQLClient = require('graphql-request').GraphQLClient
    
    module.exports = function (event) {
    	const client = new GraphQLClient('<https://api.graph.cool/simple/v1/appId>');
    
      function getItem() {
        return client.request(`
          {
            User(id:"randomUserId") {
              id
              email
              shoppingCart {
                products
              }
            }
          }
        `)
      }
      
      const items = getItem()
      console.log('ITEMS: ', items)
      
      return {
      	data: {
          products: items
        }
      }
    }
    this is a custom resolver but the query there returns nothing, what am I doing wrong
    • 1
    • 1
  • j

    Jang

    11/06/2017, 3:58 PM
    Copy code
    Error writing modules:
    RangeError: Maximum call stack size exceeded
    ```
  • j

    Jang

    11/06/2017, 3:59 PM
  • j

    Jang

    11/06/2017, 4:00 PM
    i got the error when run
    relay-compiler
  • j

    Jang

    11/06/2017, 4:01 PM
    this is my type
    Copy code
    type Post @model {
      # Required system field
      id: ID! @isUnique # read-only (managed by Graphcool)
      # Optional system fields (remove if not needed)
      createdAt: DateTime! # read-only (managed by Graphcool)
      updatedAt: DateTime! # read-only (managed by Graphcool)
      description: String!
      imageUrl: String!
      author: User! @relation(name: "PostOwner")
      comments: [Comment!]! @relation(name: "PostComment")
    }
    
    type User @model {
      id: ID! @isUnique
      createdAt: DateTime!
      updatedAt: DateTime!
      email: String!
      posts: [Post!]! @relation(name: "PostOwner")
      comments: [Comment!]! @relation(name: "CommentOwner")
    }
    
    type Comment @model {
      id: ID! @isUnique
      createdAt: DateTime!
      updatedAt: DateTime!
      message: String!
      post: Post! @relation(name: "PostComment")
      author: User! @relation(name: "CommentOwner")
    }
    p
    • 2
    • 5
  • j

    Jang

    11/06/2017, 4:03 PM
    Google dose not help
  • o

    olaf

    11/06/2017, 4:08 PM
    Anyone else having issues connecting with Graphcool ?
    👍 5
  • o

    olaf

    11/06/2017, 4:08 PM
    Don’t see errors on the status page yet
  • j

    Jannis Pohlmann

    11/06/2017, 4:08 PM
    Yep, same here
  • p

    Pedro Jardim

    11/06/2017, 4:09 PM
    Same here.
  • m

    mlukaszczyk

    11/06/2017, 4:10 PM
    same here
1...411412413...637Latest