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

    lancej

    07/10/2017, 11:33 AM
    It is ok now... did see a cloudformation errors in chrome debugger..., were you doing a deployment?
    n
    • 2
    • 8
  • m

    mwickett

    07/10/2017, 3:57 PM
    Is there any information available about the Serverless Function roadmap? Timeline on supporting all NPM packages etc.? Spooling up a project and wondering if we should stick with graph.cool functions, or build on AWS and use webhooks.
    n
    • 2
    • 3
  • j

    jakelowen

    07/10/2017, 4:31 PM
    I need clarity on one thing re: permission queries.. Can permission queries be used as filters or are they designed to allow more binary access to a set of nodes? I.e. in the instagram learning project could I use permission queries to only allow users to view their own posts?
    n
    • 2
    • 2
  • s

    samjbmason

    07/10/2017, 5:21 PM
    Myabe a simple question but what is the best way to check if a record is returned in a query?
    n
    • 2
    • 19
  • n

    nilan

    07/10/2017, 5:47 PM
    Hey everyone <!here|@here>, I'm bringing the latest Changelog 🎉 In the last week Functions, Schema Migrations and the Console received improments. We also launched GraphQL Talks and our Graphcool Heroes @dkh and @be4r contributed great resources on Optimistic UI and connecting to the GitHub API ⚡ I'm also extremely excited to kick off the closed beta for custom authentication and schema extensions, two of our most asked-for feature request. While all spots are currently occupied, we're looking for more beta testers soon, so stay tuned 🙏 Here's the complete Changelog: https://www.graph.cool/docs/faq/graphcool-changelog-chiooo0ahn/#week-27-(july-3-july-9)
    🔝 4
    🔥 4
    😎 7
    graphcool 5
    🚀 3
    💥 16
    👍 11
  • c

    ckelley

    07/10/2017, 6:13 PM
    Thanks for the hard work, Graphcool team!
    💪 1
  • c

    ckelley

    07/10/2017, 6:17 PM
    Getting this error when sending trying to create an Auth0 `idToken`:
    Copy code
    GraphQL error: The provided idToken is invalid. Please see <https://auth0.com/docs/tokens/id_token> for how to obtain a valid idToken
    Anyone experienced this, and how did you fix it? I'm using Auth0 Lock and it seems to be returning an idToken just fine. I've checked the request as well and the token is included properly
    n
    m
    d
    • 4
    • 10
  • b

    be4r

    07/10/2017, 6:25 PM
    @nilan thanks for the mention nilan! really glad to contribute to the community and this platform 😄
    🙏 1
    💚 1
    💯 2
    graphcool 1
    🙇 1
  • s

    signor_busi

    07/10/2017, 6:50 PM
    is there a way to create a releation IF it doesn't exist yet? Let's say I have an article and I want to add Tags to the article. if the tag already exists I will send an id, if it doesn't exist yet I will send the name of if. Does that make sense? Can this be done with GraphCool?
    n
    • 2
    • 5
  • s

    signor_busi

    07/10/2017, 6:51 PM
    I tried googling but couldn't find an answer so I'm trying my luck here
  • s

    signor_busi

    07/10/2017, 6:53 PM
    btw i'm new to graphql and graphcool but I'm realy loving it! I've been rambling on about it at work, hopefully we'll use it in a project at some point
    💚 3
  • j

    joshjoe

    07/10/2017, 7:44 PM
    I’m doing this to create a new user.
    Copy code
    mutation ($orgName: String!, $email:String!, $password: String!, $firstName:String!, $lastName:String!) {
      createUser(authProvider: {
        email:{
          email:$email,
          password:$password
        }
      },
      organization: {
        fullName: $orgName,
        showDonationPage: false
      },
      persons: {
        firstName: $firstName,
        lastName: $lastName,
        personType: PRIMARY,
        position: 0,
        emails: {
          position: 0,
          email: $email
        },
        group:{
          groupType: ORGANIZATION,
          recognitionName: $orgName
        }
      }
    ) {
        id
      }
    }
    The
    emails
    connected to the
    persons
    has a relationship to the
    organization
    that is being created. Is it possible to connected this new org with the new email type in the same mutation, or do I need to use a serverless function for this?
  • n

    nilan

    07/10/2017, 7:46 PM
    Neither works, I'm afraid
  • n

    nilan

    07/10/2017, 7:47 PM
    However, I'd also highly advice against having multiple "paths" between two nodes that have the same semantic meaning. If you need to query all the emails for an organization, you should rather query its users, their persons and their emails.
  • j

    joshjoe

    07/10/2017, 7:48 PM
    @nilan I suspected that I might be doing something wrong here. I’ll think this through again and then post back if I think I might have missed something in my question. Thanks
    n
    • 2
    • 10
  • s

    stton

    07/10/2017, 7:58 PM
    Hey guys, currently receiving a 'Connection closed before receiving a handshake response' that I was not getting a few hours ago, any ideas why? can't seem to reproduce consistently and have upgraded my subscriptions-transport-ws
  • s

    stton

    07/10/2017, 8:15 PM
    looks like a false alarm, back to normal now
    👍 1
  • s

    sajmil

    07/10/2017, 8:24 PM
    Yooo is there anything you can do if you forget your password right now?
    n
    • 2
    • 1
  • s

    samjbmason

    07/10/2017, 8:53 PM
    Anyone having issues creating functions, I keep getting a 502 error in my console
    n
    • 2
    • 5
  • j

    jt9001

    07/10/2017, 8:55 PM
    Is there a keyword that could be put in a query to get back all fields? Instead of writing them individually.
    n
    • 2
    • 1
  • d

    dan

    07/10/2017, 10:30 PM
    Hey, Is there a way to get a count of subscribed clients?
    n
    a
    • 3
    • 42
  • s

    samjbmason

    07/10/2017, 10:48 PM
    It's a bit weird you can only create a single request pipeline function per Model and action e.g
    User
    create
  • s

    samjbmason

    07/10/2017, 10:49 PM
    I would imagine I could have multiple functions that would execute on a model action
    a
    • 2
    • 4
  • s

    sajmil

    07/10/2017, 11:37 PM
    anyone else's functions not working righgt now?
  • b

    be4r

    07/11/2017, 1:31 AM
    when i add this relation
    Copy code
    type Deck implements Node {
      main: [Card!]! @relation(name: "MainDeckOnCard") @rename(oldName: "cards")
      side: [Card!]! @relation(name: "SideDeckOnCard")
    i get a message saying "You are adding a required relation to 'Card' but there are already items."
  • b

    be4r

    07/11/2017, 1:32 AM
    and my Card node looks like this:
  • b

    be4r

    07/11/2017, 1:32 AM
    Copy code
    main: [Deck!]! @relation(name: "MainDeckOnCard") @rename(oldName: "decks")
    side: [Deck!]! @relation(name: "SideDeckOnCard")
  • a

    agartha

    07/11/2017, 1:35 AM
    Well, do you already have nodes for those Types?
  • a

    agartha

    07/11/2017, 1:36 AM
    If so, you could create an optional relationship, instead of a required one. Then manually fill the blanks on the existing nodes, then make it required.
  • b

    be4r

    07/11/2017, 2:46 AM
    @agartha i do have nodes for Card and Deck. Is it because there are already items in the Database for Card?
    n
    • 2
    • 3
1...262263264...637Latest