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

    oREDi

    12/02/2017, 6:05 PM
    I wrote an article to do this https://medium.com/oredi/authentication-with-react-apollo-client-and-graphql-5edce538fb52
  • o

    oREDi

    12/02/2017, 6:06 PM
    it uses Graphql js but it will not stop you from using Graphcool
  • o

    oREDi

    12/02/2017, 6:12 PM
    You got to use the Apollo Link to add the Authorization request header like in the Apollo Client docs
  • t

    tfiwm

    12/03/2017, 3:01 PM
    I want to delete cascading nodes via operationBefore but i still get errors because of the relations…. do you have an example somewhere?
  • s

    senorcodecat

    12/03/2017, 3:35 PM
    Just curious: how many of you guys using graohcool framework are deploying to graphcool cloud vs AWS or other?
    👍 1
  • j

    jure

    12/03/2017, 3:38 PM
    What’s the new product mentioned in: https://twitter.com/graphcool/status/935620625493880832 ?
    i
    d
    n
    • 4
    • 7
  • p

    panzupa

    12/03/2017, 7:36 PM
    Hi All, I'm saving a list of ids to a
    Type.otherTypeIds
    as an array by executing
    mutation
    . Is there a way to fetch (query) items of
    OtherType
    in the order specified in the array?
    d
    • 2
    • 69
  • j

    Joe Fazzino

    12/03/2017, 11:43 PM
    Hi just wanted to say this tool is really cool and helps make the stuff I'm not so good at easier thanks for making it 🙂
    🦜 2
    👍 2
  • l

    luthfir

    12/04/2017, 12:54 AM
    Hi i want adding new field in my model but i got error like this
  • l

    luthfir

    12/04/2017, 12:54 AM
    -.txt
  • l

    luthfir

    12/04/2017, 12:54 AM
    Thanks 🙂
  • r

    raul

    12/04/2017, 1:16 AM
    Hi @luthfir you need add the
    @migrationValue
    directive 👀
  • l

    luthfir

    12/04/2017, 1:19 AM
    -.txt
  • l

    luthfir

    12/04/2017, 1:19 AM
    like that @raul?
  • l

    luthfir

    12/04/2017, 1:20 AM
    sorry i'm new at graphql 😄
  • r

    raul

    12/04/2017, 1:21 AM
    not, like the same error say
    @migrationValue(value: "42")
  • r

    raul

    12/04/2017, 1:22 AM
    ex:
    dateEvent: DateTime! @migrationValue(value: "42")
  • l

    luthfir

    12/04/2017, 1:23 AM
    Thanks @raul it's run like a candy! 🙂
    👍 1
  • d

    dr-manhattan

    12/04/2017, 4:49 AM
    doc mentions
    Use Auth0, Firebase Auth or any Social Login
    for authentication sources, does anyone have any strategies for using a diff identity-provider (e.g. an on-prem instance of keycloak.org)...?
    👍 1
    f
    • 2
    • 1
  • p

    pokorson

    12/04/2017, 8:44 AM
    Hi, I'm getting
    null
    as
    node
    value from subscription, any ideas what may cause this?
  • p

    pokorson

    12/04/2017, 9:18 AM
    hmm now I can see error in ws frames, I have insufficient permissions, however normal query for this node type works fine
  • p

    pokorson

    12/04/2017, 9:18 AM
    are there some additional steps while assigning permissions for subscription? I've already added
    connectionParams
    with authorization token
  • d

    Discere

    12/04/2017, 9:58 AM
    Morning all - I have a simple question - I hope! I am trying to return latest updates on a homepage and want to do it in one query
    Copy code
    {
      RecentArticles: allArticles(first: 3, orderBy: updatedAt_DESC) {
        id
        fields {
          title
        }
      }
      RecentEvents: allEvents(first: 3, orderBy: updatedAt_DESC) {
        id
        fields {
          title
        }
      }
      RecentMicrosites: allMicrosites(first: 3, orderBy: updatedAt_DESC) {
        id
        fields {
          title
        }
      }
    }
    Is there any way I can wrap this so I get one object back?
    d
    • 2
    • 2
  • d

    dohomi

    12/04/2017, 9:59 AM
    Hello, could someone provide a small example how to make a graphcool api call authenticated inside of a resolver function?
    m
    • 2
    • 1
  • d

    dohomi

    12/04/2017, 10:00 AM
    Copy code
    module.exports = async (event) => {
        const graphcool = fromEvent(event)
        const api = graphcool.api('simple/v1') // => here I would like to attach a authenticated token, important is that the initial call of the resolver does not need to be authenticated, only a small piece of code needs to be
    m
    • 2
    • 17
  • p

    pokorson

    12/04/2017, 10:34 AM
    Is it possible to restore wildcard permissions?
  • p

    pokorson

    12/04/2017, 10:34 AM
    I tried to change to wildcard but it seems it doesn't work, does it take some time for server to catch up? I'm getting insufficient permissions on subscription
  • f

    Francesc Jaume Miralles

    12/04/2017, 10:55 AM
    Hi all!! It is posible in playground, to group queries in graphqlbin like in desktop app?
  • r

    rein

    12/04/2017, 11:31 AM
    Are there any updates on returning relationship data in a delete Mutation? I made an issue in the before the switch was made to the framework repo and I think some people took interest, but I havent seen it mentioned anymore.
  • f

    Felix

    12/04/2017, 12:04 PM
    guys, can i combine these 2 tutorials ? for implementing Email/pass & Facebook login ?
    m
    • 2
    • 5
1...455456457...637Latest