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

    nilan

    12/19/2017, 10:24 AM
    Hey there 👋 Just a heads up for everyone getting started with the developer preview for 1.0, https://github.com/graphcool/graphql-boilerplate is a great starting point 🙂 I'm currently collecting a bunch of questions & common use cases, would love to hear your feedback in a PM! 💚
    🦜 4
    🚀 3
    💯 2
  • o

    Oleg Galaburda

    12/19/2017, 10:35 AM
    Hello, I have GraphQL syntax question, couldn't find answer myself. I saw many examples of extending Query, used myself, but is there a way to extend a data type and name it to use as referense? Something like
    Copy code
    type BaseType {}
    MyType extend type BaeType {}
    OtherType {
    property:MyType!
    }
    EDIT: The answer is interfaces, create an interface for base type and implement it with type. Interface can be used in property definition.
  • m

    max

    12/19/2017, 11:00 AM
    Does anyone know if the following is secure? If a function should only be called using the PAT (i.e. an internal function), will checking if
    event.context.auth.typeName === 'PAT'
    be sufficient and secure? Posted to the forum here https://www.graph.cool/forum/t/how-to-know-whether-or-not-its-roottoken-request-inside-resolver-function/1692
  • a

    alexofob

    12/19/2017, 11:21 AM
    Hi there, I am unable to open my online console since last 2 days
  • a

    alexofob

    12/19/2017, 11:22 AM
    Is there any changes on going?
  • k

    kdichev

    12/19/2017, 11:39 AM
    yo guys I am trying to fetch some query in a resolver function.
  • k

    kdichev

    12/19/2017, 11:40 AM
    -.js
  • k

    kdichev

    12/19/2017, 11:40 AM
    first of all response is not being logged and overlap too
  • k

    kdichev

    12/19/2017, 11:41 AM
    am I missing something? 😄
    h
    d
    • 3
    • 4
  • k

    kdichev

    12/19/2017, 11:44 AM
    this is the whole baby
  • k

    kdichev

    12/19/2017, 11:44 AM
    im using graph.cool console
    h
    • 2
    • 26
  • r

    Razertory

    12/19/2017, 12:55 PM
    are you using graphql-batch in your ruby projects ?
  • d

    dohomi

    12/19/2017, 12:55 PM
    Hey guys is there anything I can do to debug why a function fails on graphcool deploy --dry-run but still works if its deployed via the --force property? I always get the error of
    Could not create serverless function for 'myFunction'. Ensure that the code is valid
  • p

    playra

    12/19/2017, 1:04 PM
    I'm trying to put https://github.com/graphcool/graphql-playground desktop version. After setting up and trying to open a project, it produces such an error.
    Copy code
    TypeError: Cannot read property 'getRawEndpointsMap' of null
    .graphqlconfig
    Copy code
    {
      "schemaPath": "/src/graphql/schema.js"
    }
    What's wrong?
  • p

    playra

    12/19/2017, 1:04 PM
    message has been deleted
  • c

    congy

    12/19/2017, 2:01 PM
    Hello, I' having a problem with uploading files. I'm using the legacy console project. Can that be a problem? I'm following the example in the docs (using fetch API, multipart/form-data, request body contains formData with 'data' property (that contains file). What am I doing wrong? Why am I getting internal server error? Can't debug it without any error message. Thanks!
  • m

    mail393

    12/19/2017, 2:05 PM
    Hi everyone. With the new concept of “graphql database backend”, is the pricing the same? Also, how is the acl handled?
  • u

    user

    12/19/2017, 2:16 PM
    @congy commented on @congy’s file

    https://prisma.slack.com/files/U71QDRDTK/F8GRVJHGU/image.png▾

    : @nilan any idea?
  • m

    max

    12/19/2017, 2:27 PM
    @nilan Does anyone know if the following is secure? If a function should only be called using the PAT (i.e. an internal function), will checking if
    event.context.auth.typeName === 'PAT'
    be sufficient and secure? Posted to the forum here https://www.graph.cool/forum/t/how-to-know-whether-or-not-its-roottoken-request-inside-resolver-function/1692
  • r

    rein

    12/19/2017, 2:43 PM
    Anyone who has experience with the new graphcool database system, how are Files handled and linked to the db?
    m
    • 2
    • 1
  • r

    rein

    12/19/2017, 2:48 PM
    And maybe another question as well, how secure is the user authentication graphcool provides in comparison to a more heavy-weight solution like AWS Cognito? Is there anything specifically I should watch out for?
    m
    a
    • 3
    • 11
  • s

    steveb

    12/19/2017, 2:58 PM
    anyone have any preferred testing frameworks that play especially well with Graphcool?
  • s

    stearm

    12/19/2017, 3:34 PM
    hi @channel! I activated
    email-password
    integration and I would like to insert users using graphcool console/playground. Is it possible? The reason is that my application is used internally from my house and no one can signup to it.
    m
    • 2
    • 9
  • s

    saidi.med2012

    12/19/2017, 3:59 PM
    @saidi.med2012 pinned a message to this channel.
  • p

    playra

    12/19/2017, 3:59 PM
    How to remove the user?
  • p

    playra

    12/19/2017, 4:00 PM
    My mutation:
    Copy code
    mutation {
      deleteUser (id: "cjbds2yrz27400190o2cjut92") {
        id
      }
    }
    m
    • 2
    • 4
  • p

    playra

    12/19/2017, 4:50 PM
    why?
  • c

    chrishurlburt

    12/19/2017, 5:35 PM
    hey, what happened to the JSON export button for a project?
    👍 1
  • p

    Patrick

    12/19/2017, 5:54 PM
    <https://www.graph.cool/docs/>
    the link in the docs for
    Custom Schema
    goes to a dead link quys..
    <https://github.com/graphcool/framework/tree/master/examples/gateway-custom-schema>
  • p

    Patrick

    12/19/2017, 5:56 PM
    ☝️
1...476477478...637Latest