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

    peeter

    01/24/2017, 3:26 PM
    Show me how your video type is defined
  • c

    codepreneur

    01/24/2017, 3:32 PM
    Copy code
    const videoType = new GraphQLObjectType({
      name: 'Video',
      fields: () => ({
        id: {
          type: new GraphQLNonNull(GraphQLID),
          resolve: (obj) => obj.id
        },
        name: { type: GraphQLString },
        url: { type: GraphQLString }
      }),
      interfaces: [nodeDefs.nodeInterface]
    })
  • s

    schickling

    01/24/2017, 3:32 PM
    Hey @peeter & @codepreneur - Would you mind moving the conversation to #stackoverflow? πŸ™‚
  • c

    codepreneur

    01/24/2017, 5:44 PM
    @schickling you scared him away now 😩
  • c

    codepreneur

    01/24/2017, 6:53 PM
    and I still havent solved my issue (why interfaces is undefined)
  • a

    artyom

    01/25/2017, 8:58 AM
    πŸ‘‹ @robbie.dela.victoria @jpmugizi @marciobueno1 welcome!
    πŸ™Œ 3
  • s

    schickling

    01/25/2017, 11:30 AM
    Hey @alex_ye! Welcome to our Slack!
  • m

    monkeybonkey

    01/25/2017, 5:11 PM
    in the algolia integration - is there anyway to filter the integration such that only items where isPublic=true are synchronized to Algolia?
  • s

    sorenbs

    01/25/2017, 5:56 PM
    Hey Mike - that’s a great feature request! Could you open an issue on https://github.com/graphcool/feature-requests/issues ?
  • s

    sorenbs

    01/25/2017, 5:57 PM
    We are preparing to officially launch the Algolia integration and I think it could make sense to add this feature first.
  • e

    ejoebstl

    01/25/2017, 8:51 PM
    Hey graphcool team, If I wanted to set up a test/staging environment for my product which builds upon gc, how would I quickly create a duplicate (or similar) for integration testing? Extra points for automation. πŸ™‚
  • n

    nilan

    01/25/2017, 8:52 PM
    Hey, you can use the clone project feature for that!
  • n

    nilan

    01/25/2017, 8:52 PM
    Expand your project list and click the duplicate icon
  • n

    nilan

    01/25/2017, 8:52 PM
    on the right side of the project name
  • e

    ejoebstl

    01/25/2017, 8:53 PM
    Thank you! πŸ™‚
  • p

    pkunwar

    01/26/2017, 7:41 AM
    hello
  • p

    pkunwar

    01/26/2017, 7:41 AM
    so there's another field in connectionDefinitions
  • p

    pkunwar

    01/26/2017, 7:42 AM
    Untitled.js
  • p

    pkunwar

    01/26/2017, 7:44 AM
    and i have some questions over it
  • n

    nilan

    01/26/2017, 8:36 AM
    hey @pkunwar! Let's discuss questions like these in the #stackoverflow channel πŸ™‚
  • p

    pkunwar

    01/26/2017, 8:37 AM
    Sure @nilan
  • c

    cullan

    01/26/2017, 4:33 PM
    Are the id fields unique per table or database wide?
  • n

    nilan

    01/26/2017, 4:36 PM
    they are unique across all projects. We use cuids: https://github.com/graphcool/cuid-java
  • c

    cullan

    01/26/2017, 4:37 PM
    Thank you. I can simplify my dataIdFromObject function then.
  • n

    nilan

    01/26/2017, 5:00 PM
    yep :)
  • a

    artyom

    01/26/2017, 6:31 PM
    @okbel @miguel welcome! πŸ‘‹
  • o

    okbel

    01/26/2017, 6:31 PM
    Thanks! πŸ‘‹ Hello all! πŸ™‚
  • m

    miguel

    01/26/2017, 6:33 PM
    Hi there! πŸ‘‹
  • n

    nilan

    01/26/2017, 6:48 PM
    hiho πŸ‘‹
  • t

    thisismissem

    01/26/2017, 11:53 PM
    Does graph.cool not have a logout mutation?
1...888990...637Latest