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

    sdubois

    01/22/2017, 7:28 PM
    has something changed about the
    createUser
    API, is an auth header required? What would it be, considering that the user isn't there yet...?
  • s

    sdubois

    01/22/2017, 7:28 PM
    I got the error
    Insufficient permissions for this mutation
  • s

    sorenbs

    01/22/2017, 7:29 PM
    Hi Sebastien. Could you try to send me your query in a dm. Then I can look into it
  • s

    sdubois

    01/22/2017, 7:29 PM
    sure
  • c

    codepreneur

    01/22/2017, 8:45 PM
    @sorenbs do you have code for learn relay course ?
  • c

    codepreneur

    01/22/2017, 8:45 PM
    I just need that as a
  • c

    codepreneur

    01/22/2017, 8:45 PM
    an example
  • c

    codepreneur

    01/22/2017, 8:45 PM
    to learn
  • c

    codepreneur

    01/22/2017, 8:45 PM
    just the schema I mean
  • c

    codepreneur

    01/22/2017, 8:55 PM
    and by schema I dont mean schema.json which you get when you do introspection query
  • c

    codepreneur

    01/22/2017, 8:55 PM
    I mean javascript file that contains all the logic/objects etc
  • m

    martin

    01/22/2017, 9:21 PM
    Hi @nilan, receiving this message:
    503 (Service Unavailable: Back-end server is at capacity)
    . Any updates? Much appreciated.
  • s

    schickling

    01/22/2017, 9:21 PM
    Hey there! We’re currently performing some database maintenance. Should be done in < 10 minutes. https://twitter.com/graphcoolstatus/status/823278538937790465
    πŸ‘πŸ½ 1
  • n

    nilan

    01/22/2017, 9:22 PM
    @martin, thanks for the heads up! we're going through a maintenance period for the next few minutes πŸ™‚
    πŸ‘πŸ½ 1
  • m

    martin

    01/22/2017, 9:23 PM
    Thanks! πŸ™‚ Great service, by the way. Stoked about Graph.cool.
    ❀️ 1
    πŸ™ 2
  • s

    schickling

    01/22/2017, 9:30 PM
    Update: https://twitter.com/graphcoolstatus/status/823281197744799745
    πŸ‘πŸ½ 2
  • n

    nilan

    01/22/2017, 9:31 PM
    hey @nicklewis πŸ‘‹
  • n

    nicklewis

    01/22/2017, 9:31 PM
    hi @nilan and good evening
    ❀️ 1
  • n

    nilan

    01/22/2017, 9:33 PM
    Likewise :)
  • c

    codepreneur

    01/23/2017, 12:44 AM
    why reusing a connection like so:
    Copy code
    const storeType = new GraphQLObjectType({
      name: 'Store',
      fields: () => ({
        id: globalIdField('Store'),
    
        allVideos: {
          type: allVideos.connectionType,
          args: Object.assign(
            {},
            connectionArgs
          ),
          resolve: (_, args) => {
    
          }
        },
    
        Video: {
          type: allVideos.connectionType,
          args: Object.assign(
            {},
            connectionArgs,
            {id: {type: GraphQLString}}
          ),
          resolve: (_, args) => {
    gives me errors like so:
    Copy code
    -- GraphQL Validation Error -- VideoPage --
    
    File:  /Users/what/src/components/VideoPage.js
    Error: Cannot query field "id" on type "VideoConnection".
    Source:
    > 
    >             id
    >             ^^^
  • c

    codepreneur

    01/23/2017, 12:45 AM
    and here are connection definitions:
  • s

    sashko

    01/23/2017, 12:45 AM
    @ejoebstl: actually it should be relatively simple to use graphql-tools for mocking with Graphcool, please PM me and I can point you in the right direction
  • c

    codepreneur

    01/23/2017, 12:45 AM
    Copy code
    const videoType = new GraphQLObjectType({
      name: 'Video',
      fields: () => ({
        id: {
          type: new GraphQLNonNull(GraphQLID),
          resolve: (obj) => obj.id
        },
        name: { type: GraphQLString },
        url: { type: GraphQLString }
      })
    })
    
    const allVideos = connectionDefinitions({
      name: 'Video',
      nodeType: videoType
    })
  • c

    cody.landry

    01/23/2017, 5:24 AM
    Hey, great progress. I was curious whether you planned to support websocket connections for apollo?
  • s

    sorenbs

    01/23/2017, 9:21 AM
    Thanks @cody.landry
  • s

    sorenbs

    01/23/2017, 9:22 AM
    By websocket connections, I assume you mean GraphQL subscriptions? We have Subscriptions implemented in our beta program. I’ll send you a dm to help you get started πŸ™‚
  • a

    artyom

    01/23/2017, 1:15 PM
    welcome @tejasdoshi @truezure @marcelorl and @vlad ! πŸ‘‹
  • c

    codepreneur

    01/23/2017, 1:49 PM
    guys
  • c

    codepreneur

    01/23/2017, 1:49 PM
    does anyone know
  • c

    codepreneur

    01/23/2017, 1:49 PM
    how to have graphql object
1...828384...637Latest