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

    dardub

    09/14/2017, 11:50 PM
    I didn't think it was necessary though.
  • d

    doug_w

    09/14/2017, 11:50 PM
    I work with a wizard (@jcheroske) who figured out how to pass the
    apollo-client
    to `redux-logic`… match made in heaven
    👍 2
  • p

    plarson

    09/14/2017, 11:58 PM
    https://www.graph.cool/docs/reference/functions/schema-extensions-xohbu7uf2e/
  • p

    plarson

    09/14/2017, 11:58 PM
    anyone know how to get access to this?
    d
    • 2
    • 1
  • r

    rvespula

    09/15/2017, 12:00 AM
    i have the next error when i try remove a file
    Copy code
    {
      "data": {
        "deleteFile": null
      },
      "errors": [
        {
          "message": "Whoops. Looks like an internal server error. Please contact us from the Console (<https://console.graph.cool>) or via email (support@graph.cool) and include your Request ID: us-west-2:simple:cj7l4a9698u1q0102z8pcqokz",
          "requestId": "us-west-2:simple:cj7l4a9698u1q0102z8pcqokz",
          "path": [
            "deleteFile"
          ],
          "locations": [
            {
              "line": 2,
              "column": 3
            }
          ]
        }
      ]
    }
    n
    • 2
    • 1
  • f

    florian

    09/15/2017, 1:44 AM
    Hi everyone, after looking at the feature requests in https://github.com/graphcool/graphcool it seems it is possible to have functions defined in a graphcool.yml file and have the code developed in files locally. Is that a feature still in discussion or is there's a way to use that (in that case where can I find doc on this ?)
    a
    • 2
    • 2
  • c

    coffenbacher

    09/15/2017, 2:57 AM
    So if I have to run 10 queries, should I expect to see
    Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(...)))))))))
    ?? 😆 although that makes sense to me how that could happen with the function composition, I hope I'm doing something wrong
    d
    • 2
    • 5
  • e

    eleazar

    09/15/2017, 3:58 AM
    Can anyone guide me(noob) through a simple user/password authentication on iOS? - After clicking the signup button, i send a create mutation with the fields and query what in return?
    i'm currently doing this in 2 steps, createUser -> signinUser
    - And how do i get a “JWT token” using GraphCool’s API?
    okay i got the token after calling the signinUser mutation, stupid question.
    - Is this “token” a “String?” ?
    another stupid question, pardon me, please ignore
    - Where do i store this “token”? UserDefaults? - How do i reference it again using Swift 3/4 in code to authorise things like a “create post” mutation?
    i'm guessing to retrieve the token from local storage and passing it with the mutation?
    - How do i check if this token is still valid? I was trying to find some reference online on this as its totally new to me and i’m trying to learn as much as i can but i cant seem to find any iOS GraphQL code examples. I’m trying to stay away from auth0 at the moment as I read there are some people talking about problems with using it in iOS clients. Or should I just use auth0? 😂
    n
    • 2
    • 2
  • c

    cnickeson

    09/15/2017, 6:18 AM
    I would guess that if you are making 10 queries you should rework your queries. With the power of graphql you can usually get almost all if not all the data you need in 1 query
  • m

    matty

    09/15/2017, 9:03 AM
    lazyweb... suggestions for automated data backup process?
  • k

    kylet1994

    09/15/2017, 10:16 AM
    Hey guys! Im trying to create a schema extension for a project i am working on, i can't figure out where the create this function. Any ideas?
    d
    n
    • 3
    • 3
  • m

    matty

    09/15/2017, 10:56 AM
    has anyone tried the new atom release? how does it compare to vscode?
    a
    d
    • 3
    • 10
  • s

    scolab.andre

    09/15/2017, 12:49 PM
    Anyone have problem to access graph.cool console?
    n
    d
    • 3
    • 4
  • d

    danny

    09/15/2017, 1:03 PM
    hello every one!
    n
    • 2
    • 1
  • l

    llo

    09/15/2017, 1:10 PM
    I have Issues with the Permission Dialog, that the Query is not shown and the close Button not working. (Using Chrome)
    j
    n
    • 3
    • 6
  • e

    eder

    09/15/2017, 2:00 PM
    Hi guys, Is possible using apollo chrome extension with graphcool backend?
    n
    • 2
    • 1
  • j

    johhansantana

    09/15/2017, 2:28 PM
    who can I contact to get access to beta features?
    n
    • 2
    • 2
  • k

    karafizi.arthur

    09/15/2017, 2:35 PM
    Hi there! Important question. How can I separate queries for the ADMIN role, where I want to see all projects created by all users, and for the USER role, which can see only projects created by their own?
    n
    • 2
    • 2
  • r

    Rippo

    09/15/2017, 4:19 PM
    Hi there. Sure this is a stupid question but, on windows I run chromeless using
    chrome --remote-debugging-port=9222 --disable-gpu --headless
    My question is how do i shut it down?
    d
    k
    • 3
    • 6
  • p

    pnicolaou

    09/15/2017, 6:32 PM
    Hey 🙂
  • p

    pnicolaou

    09/15/2017, 6:34 PM
    I was wondering how do u implement recommendations with graphcool. So if you I have a set of posts and you want to build a recommendation feed to show users only posts they are intereseted in?
    a
    • 2
    • 7
  • a

    aurnik

    09/15/2017, 7:53 PM
    Anyone getting 502s right now trying to update/create functions?
  • m

    merott

    09/15/2017, 8:00 PM
    I’m able to update functions just fine…
  • a

    aurnik

    09/15/2017, 8:03 PM
    @merott Really? I’m still getting 502s
    🤔 2
    n
    • 2
    • 3
  • w

    windkomo

    09/15/2017, 10:12 PM
    How would one apply a filter only if a variable is not null ? For example
    Copy code
    allItems(filter: {
        OR: [{ price_gte: 50 }, { location: { placeId: $placeId } } ]
    })
    I want to apply the location filter only if
    $placeId
    has a value
    d
    d
    • 3
    • 7
  • g

    georgelovegrove

    09/16/2017, 10:01 AM
    Graphcool subscriptions - Has anyone dealt with asynchronous tokens when making the SubscriptionClient. Got a forum post i made here - https://www.graph.cool/forum/t/subscriptions-how-to-deal-with-asynchronous-token-for-authorization-connection-param/925
  • d

    danny

    09/16/2017, 10:44 AM
    #newbie problem: I’m thinking on how to build users authentication in graph.cool. My understanding is that in terms of authentication: my app user === graph.cool user (that’s a bit opposite to the ‘default’ practice in RDBM where app has ‘db user’). Is that correct? aaand if that above is correct then how to build (tutorial?) a system like e.g. blog engine/cms/e-shop where app has its own users with all login-remind-my-password etc features - any advice will be priceless!!
    a
    • 2
    • 20
  • m

    mikedklein

    09/16/2017, 1:58 PM
    Anyone tried using graph.cool with apollo and preact?
    n
    • 2
    • 9
  • s

    sebd

    09/16/2017, 3:50 PM
    In a permission query, are we allowed to use any field from the User table? I'm taking this example from the docs:
    Copy code
    query permitViewDocuments($user_id: ID!) {
      SomeUserExists(filter: {
        id: $user_id
        role: ADMIN
      })
    }
    but instead of 'role' I'm using an enum I defined called userType, and I'm getting an error message saying userType is unknown field...
    n
    • 2
    • 14
  • p

    pnicolaou

    09/16/2017, 3:52 PM
    Im not sure but shouldn’t it say
1...340341342...637Latest