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

    Tavo

    10/10/2017, 7:03 AM
    is it 1.4.0 the latest? or 1.3.7?
  • t

    Tavo

    10/10/2017, 7:04 AM
    also what is next?
    a
    t
    • 3
    • 12
  • j

    Josef Henryson

    10/10/2017, 7:37 AM
    Another newbie question šŸ™‚ Is it possible to get a list of IDs back from a query instead of a list of objects with id within? Like: features { id } => [ā€œid1ā€, ā€œid2"] instead of [{ā€œid1ā€}, {ā€œid2"}]
    t
    a
    • 3
    • 16
  • t

    taikn

    10/10/2017, 7:41 AM
    Hello, a question regarding file management,
    CREATE
    permissions on
    File
    type are currently skipped, but
    READ
    permissons work, what about
    UPDATE
    and
    DELETE
    permissions? Are these accepted on
    File
    type?
    t
    • 2
    • 2
  • m

    meikoudras

    10/10/2017, 9:49 AM
    Hi! Any quick way to add the new graphcool cli support to Webstorm? Currently all permission queries and type definitions show linting errors for me.
  • m

    meikoudras

    10/10/2017, 10:40 AM
    Currently adding templates with the cli is not supported?
  • m

    mulyoved

    10/10/2017, 11:08 AM
    Hi, have existing GC project in console, want to try experiment with
    graphcool deploy
    console say use
    graphcool pull -p ....
    graphcool@next say pull deprecated, when try pull anyway give error message
    Please provide a valid environment that has a valid project id
    any idea what did I missed?
    a
    t
    • 3
    • 5
  • j

    joar

    10/10/2017, 1:09 PM
    My function logs are filled with
    Call to <https://wt-graphcool.it.auth0.com/api/run/<id>/<id>> failed with: Request timeout to <http://wt-graphcool.it.auth0.com/34.253.94.166:443|wt-graphcool.it.auth0.com/34.253.94.166:443> after 5000 ms
  • j

    joar

    10/10/2017, 1:09 PM
    auth0 having issues?
    a
    • 2
    • 1
  • n

    nick.kozhukharenko

    10/10/2017, 2:08 PM
    Does anybody know the status of this PR? @nilan I need ā€˜import data’ this feature ))
    a
    n
    • 3
    • 4
  • c

    chandlervdw

    10/10/2017, 2:24 PM
    Is there a way to check a variable’s type in the frontend? I’m pulling a slug out of the url and I want to get a Type by either the
    id: ID
    field or by a custom
    urlSlug: String
    field. I don’t know if the slug is an ID or a String…
    a
    • 2
    • 16
  • d

    Danny P

    10/10/2017, 3:05 PM
    is there any documentation on the difference between
    Customer
    and
    User
    ? Are they the same?
    a
    • 2
    • 11
  • p

    peterp

    10/10/2017, 3:36 PM
    since ya’ll are using auth0 extend now does that mean we can use modules like braintree & stripe?
    a
    • 2
    • 2
  • b

    be4r

    10/10/2017, 4:16 PM
    Currently, I am following this doc for authentication: https://www.graph.cool/docs/tutorials/react-apollo-auth0-pheiph4ooj/ My react app is set up for server side rendering and by following this documentation, server side rendering doesnt work as intended due to the
    fetchPolicy
    being set to
    network-only
    . Setting this causes the query to refetch once it is mounted on the client side. Therefore, the render appears like so:
    Server Rendered HTML correct --> Loading Bar --> Rendered HTML
    whereas it should just be
    Server Rendered HTML correct
    . Anyone have recommendations on how to solve this?
  • w

    welf

    10/10/2017, 4:27 PM
    If i have an interface like:
    Copy code
    interface SomeInterface {
      id: ID! @isUnique
      users: [User!]! @relation(name: "SomeRelationOnUser")
      isPuplished: Bool! @defaultValue(value: false)
    }
    … and a type which implements this interface:
    Copy code
    type SomeType implements SomeInterface {
      id: ID!
      users: [User!]!
      isPublished: Bool!
    }
    … should I repeat all those
    @isUnique
    ,
    @defaultValue
    and
    @relation
    in the type declaration or it will be inherited from interface?
    a
    j
    • 3
    • 12
  • n

    notrab

    10/10/2017, 4:28 PM
    Anyone had this errro
    data.permissions[0].operation should match pattern
    when
    graphcool.yml
    permissions are set to
    - operation: '*'
    āœ… 1
    a
    • 2
    • 18
  • n

    notrab

    10/10/2017, 4:28 PM
    Just doesn’t deploy!
  • p

    Pkmmte

    10/10/2017, 6:16 PM
    Is there a way to restrict which IPs can have access to my Graphcool project? I set up some client-based authorization on my business layer and I'd like to prevent everything except that business layer from making queries directly, for security reasons. (I still allow custom queries, I'm just adding a public/secret authentication method in between.)
  • p

    panzupa

    10/10/2017, 6:21 PM
    Hi Guys, with regard to recent updates of GraphCool can anyone explain to me what's a difference between (old) functions and new resolvers?
    a
    • 2
    • 2
  • p

    panzupa

    10/10/2017, 6:24 PM
    It's just schema extension functionality ?
  • m

    mpiroc

    10/10/2017, 6:39 PM
    Hi, I'm replying to the "We've noticed that you haven't come back to your Graphcool account after you signed up a week ago." email:
  • m

    mpiroc

    10/10/2017, 6:39 PM
    I want to use Graphcool, but the Auth0 integration just isn't ready: - The built-in provider only supports hs256 (no rs256). But hs256 doesn't meet my security requirements. - Even if I wanted to use hs256, auth0.js v8 doesn't support it. auth0.js v7 does, but it is not longer being maintained--a deal-breaker for security-critical software. - Even if I were willing to use auth0.js v7, I'm using the auth0 hosted login page (https://auth0.com/docs/hosted-pages/login), so token generation is out of my hands. - Graphcool resolvers provide an extension point for custom auth providers. But I don't want to implement my own provider (again, I want to rely on a tried-and-tested solution for security-critical), and even your own example (https://github.com/graphcool/templates/tree/master/authentication/auth0-authentication) was not production ready and did not validate tokens last time I checked. I will try Graphcool again when you have an auth0 solution that: - Supports rs256 - Supports the most recent version of auth0.js - Does not require me to implement my own auth provider logic through Graphcool resolvers or similar.
    a
    • 2
    • 2
  • b

    Brandon R

    10/10/2017, 7:41 PM
    Hey guys, was wondering what database and database type graphcool uses behind the scenes (it is relational, graph database, etc. and which one). And specifically what sorts of performance characteristics we can expect from reads/writes as our app scales (in transactions/second and storage)
    a
    • 2
    • 2
  • b

    Brandon R

    10/10/2017, 7:41 PM
    Thank you!
  • m

    Menegazzi

    10/10/2017, 7:55 PM
    Hey guys, I have a question, is it possible to replace AWS Aurora with AWS DynamoDB?
    a
    l
    n
    • 4
    • 4
  • t

    timbuckley

    10/10/2017, 9:01 PM
    Question: Is it possible/okay to use a node as reference without making a corresponding
    @relation
    ?
    Copy code
    type Person {
      pets: [Pet!]!     <- like that
      name: String!
    }
    
    type Pet {
      name: String!
    }
    a
    l
    • 3
    • 2
  • l

    lastmjs

    10/10/2017, 9:27 PM
    I'm using the new CLI, doing this query
    Copy code
    query {
      User(id: "cj8eurgqf30sc0112k3b6dkfl") {
        email
      }
    }
    a
    • 2
    • 25
  • b

    Brandon R

    10/10/2017, 9:37 PM
    Hey guys, I installed the graphcool CLI using `npm install -g graphcool@next' according to this doc: https://www.graph.cool/forum/t/feedback-framework-preview/949
  • b

    Brandon R

    10/10/2017, 9:37 PM
    But I'm not seeing the
    graphcool module
    command... is it included with this version?
    a
    • 2
    • 4
  • b

    Brandon R

    10/10/2017, 9:38 PM
    version:
    graphcool/0.7.0-beta.3 (darwin-x64) node-v8.6.0
1...366367368...637Latest