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

    roderik

    12/13/2017, 5:59 PM
    and i was wondering how could I access the
    __PLATFORM_TOKEN__
    mentioned in the section
    Accessing the permission schema
  • r

    roderik

    12/13/2017, 6:03 PM
    On a local cluster i might add
  • m

    matic

    12/13/2017, 6:23 PM
    @roderik you can access it by adding `name of your
    rootToken
    to your
    graphcool.yml
    and then obtaining it by calling
    graphcool root-token <name>
    r
    • 2
    • 3
  • m

    mike.johnson

    12/13/2017, 6:30 PM
    is there a way to use nested create mutations with relationships that have a unique field?
    n
    • 2
    • 3
  • p

    phil

    12/13/2017, 7:11 PM
    https://github.com/graphcool/framework/issues/1275
  • u

    user

    12/13/2017, 7:12 PM
    @phil commented on @phil’s file

    https://prisma.slack.com/files/U35D89TV5/F8ECYBP6H/image.png▾

    : This issue, for filtering on the contents of an array, changed label to
    needs-review
    . Trying to get a sense how quickly this will drop. I’m doing some data modelling at the moment, and this ability to filter on an array will have a major impact on the types of design decisions I need to make. Will this turn up in production anytime soon? Thanks
  • u

    user

    12/13/2017, 7:14 PM
    @phil commented on @phil’s file

    https://prisma.slack.com/files/U35D89TV5/F8ECYBP6H/image.png▾

    : Or is that just the “proposal” that needs review, but the code hasn’t been written yet?
  • j

    johhansantana

    12/13/2017, 7:32 PM
    according to this: https://www.graph.cool/docs/reference/auth/authorization/important-notes-aej3ne1eez I can't update a node if I am only updating a relation id. What would be the workaround then :l
    • 1
    • 2
  • i

    illuday

    12/13/2017, 8:09 PM
    Hey guys, I'm working on a possible migration from rest to graphql (vue <-> rest php <-> elastic into vue <-> graphcool), I was wondering about the proper way to add (as an exemple) the logged user to a type (post). In my rest API, I can check if the userId in parameter of my route is the same as the logged one (or just add the logged one to my entity/document), but I can't have a clean vision of this process in graphql, have you any guidelines about ? Thanks a lot ❤️
    i
    • 2
    • 11
  • f

    Fitch

    12/13/2017, 8:14 PM
    I use a roles based approach .. I check the user for Role .. and role is a ENUM of Admin, Follower, etc that is granted through authorization
  • f

    Fitch

    12/13/2017, 8:15 PM
    This also allows routes and loadable components to only load if the role allows
  • l

    logan

    12/13/2017, 8:41 PM
    any up to date tutorials, templates, or examples on File management? creating an S3 upload function.
    m
    a
    • 3
    • 7
  • e

    ehodges

    12/13/2017, 8:58 PM
    Had these errors when doing a graphcool deploy: /Users/erichodges/Documents/graphcool/How-to-graphql/react-gql-tutorial/hackernews-react-apollo/server/src/email-password/signup.ts (25,13): Type ‘{}’ has no property ‘email’ and no string index signature. /Users/erichodges/Documents/graphcool/How-to-graphql/react-gql-tutorial/hackernews-react-apollo/server/src/email-password/signup.ts (25,20): Type ‘{}’ has no property ‘password’ and no string index signature. /Users/erichodges/Documents/graphcool/How-to-graphql/react-gql-tutorial/hackernews-react-apollo/server/src/email-password/signup.ts (25,30): Type ‘{}’ has no property ‘name’ and no string index signature. /Users/erichodges/Documents/graphcool/How-to-graphql/react-gql-tutorial/hackernews-react-apollo/server/src/email-password/signup.ts (71,104): Generic type ‘Promise<T>’ requires 1 tBundling functions Could this be caused by a permissions issue?
  • a

    atylerrice

    12/13/2017, 9:35 PM
    is there a roadmap for 1.0 what kind of breaking changes can we expect?
  • m

    max

    12/13/2017, 10:00 PM
    If anyone is looking for a password reset example, see my code here: https://github.com/graphcool/templates/issues/111 I've also written email verification functions if anyone is interested
    👏 1
    🚀 1
    🦜 3
    i
    • 2
    • 10
  • a

    Andrew Schreiber

    12/13/2017, 11:16 PM
    I'm in the process of migrating my graphcool project to the new framework. I see my existing project via
    graphcool list
    but I'm a bit confused as to how to get it running locally - does anyone have a project migration guide?
    i
    • 2
    • 3
  • m

    max

    12/13/2017, 11:42 PM
    has anyone seen Apollo Client receive a correct response to a query (i.e. I saw it in the Response tab of Chrome console) and not attach it to the query object in this.props of React?
  • i

    iamclaytonray

    12/14/2017, 12:08 AM
    Feedback wanted: https://github.com/graphcool/framework/issues/1369
    d
    • 2
    • 2
  • g

    giffurd

    12/14/2017, 1:06 AM
    I'm having issues with the file endpoint. The server is returning a 500 when I try to upload a file. For example, this command:
    curl -X POST '<https://api.graph.cool/file/v1/__PROJECT_ID__/>' -F "data=@test.png;filename=myname2.png" -i
  • g

    giffurd

    12/14/2017, 1:06 AM
    returns:
  • g

    giffurd

    12/14/2017, 1:07 AM
    Copy code
    HTTP/1.1 100 Continue
    
    HTTP/1.1 500 Internal Server Error
    Content-Length: 0
    Connection: keep-alive
    Date: Thu, 14 Dec 2017 00:56:47 GMT
    Server: akka-http/10.0.8
    X-Cache: Error from cloudfront
    Via: 1.1 <http://d9adada028fe3a04aed64f9ed9d80dd2.cloudfront.net|d9adada028fe3a04aed64f9ed9d80dd2.cloudfront.net> (CloudFront)
    X-Amz-Cf-Id: O04vHvnz5JjkAtqqZiqOAr_oBmfmkjXIkZ6d60AfrVuhplZHFfdeFA==
  • g

    giffurd

    12/14/2017, 1:07 AM
    Has anyone had this issue?
  • g

    Gomah

    12/14/2017, 3:15 AM
    I had a downtime on my graph.cool service 2h ago as well
  • g

    Gomah

    12/14/2017, 3:15 AM
    ~5min downtime returning 503s
  • g

    Gomah

    12/14/2017, 3:15 AM
    Contacted customer support but seems to be fixed, no incident on status.graph.cool
  • d

    Dukuo

    12/14/2017, 3:29 AM
    has anyone has this problem running mutations (maybe even queries?) in the playground?
  • b

    basanth

    12/14/2017, 5:40 AM
    How to set Array of objects in graphcool?
  • u

    user

    12/14/2017, 6:36 AM
    @max commented on @Dukuo’s file

    https://prisma.slack.com/files/U7RETBQ0G/F8ECYPG75/image.png▾

    : my playground seems to be working fine. I noticed you're trying to authenticated, does it matter if you chose a user or select everyone?
  • g

    go4cas

    12/14/2017, 6:39 AM
    Hey guys ... can I use the GraphCool Framework with an existing data source? (e.g. I have relational data in MySQL and MS SQL, and a third-party app with a ReST API). I want to use the framework to build a GraphQL API on top of these data sources. Is this possible?
  • k

    Kyle Jackson

    12/14/2017, 8:27 AM
    I can’t find the list of nodejs modules available to a Subscription functions, Does any one know where I can find the list?
    m
    • 2
    • 7
1...469470471...637Latest