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

    spences10

    08/18/2017, 11:15 AM
    Hey @daphen yes I'm taking a look now, thanks 👌
  • d

    daphen

    08/18/2017, 11:16 AM
    I just meant that I looked and only found it for React. ¯\_(ツ)_/¯
  • s

    spences10

    08/18/2017, 11:24 AM
    There's vanilla JS section there, which points you back to the React\Angular Apollo Guides 🙃
    😂 1
  • l

    lefevre

    08/18/2017, 11:29 AM
    Hey. Anyone who knows how to delete the actual an file and not just the data reference to it? 🙂 I’ve uploaded it via the image API: https://www.graph.cool/docs/reference/file-handling/image-api-atiede8ata/ and when deleting it with https://www.graph.cool/docs/reference/relay-api/working-with-files-aechiosh8u/ the actual file is still accessible directly at the linke from the image API call. 😕
  • s

    spences10

    08/18/2017, 11:43 AM
    @lefevre you want to delete the data? Can you not do that with a mutation??
  • l

    lefevre

    08/18/2017, 12:32 PM
    @spences10 The mutation deletes the data fine, but the actual image uploaded via the API doesn’t get deleted, it’s still accessible on the link in the File data. I just want to make sure that when reference to the image is deleted, the image is purged from the server, so it won’t take up space. 🙂
  • s

    spences10

    08/18/2017, 12:47 PM
    @lefevre interesting, I'd like to know how you resolve this one.
  • l

    lefevre

    08/18/2017, 1:08 PM
    @spences10 I’ll let you know if i have any findings. 🙂
  • s

    spences10

    08/18/2017, 1:15 PM
    👌
  • p

    peterp

    08/18/2017, 2:42 PM
    If I need to query User -> Books. Should I use
    user { }
    or
    allBooks(userId: userId)
    ?
    n
    d
    • 3
    • 10
  • j

    joar

    08/18/2017, 3:44 PM
    Is there any recommended max number for amount of concurrent subscriptions?
  • j

    joar

    08/18/2017, 3:45 PM
    Not trying to do anything nefarious, just curious. Right now I set up around 5 subscriptions / client which I assume is fine.
  • d

    Daniel K.

    08/18/2017, 4:45 PM
    @joar I would say the more you have the more money it will cost you 🙂 do you actually need separate subscriptions? I mean this is where magic of GraphQL comes in, you can bundle up everything into bigger query and have that served to you
  • j

    joar

    08/18/2017, 4:53 PM
    @Daniel K. GC dont support multiple queries/subscriptions as far as I know. Have to split them up
  • j

    joar

    08/18/2017, 4:54 PM
    Also subscriptions only react to direct changes to the model, not if something changes in a relationship. So if I want to listen for the Users posts, comments & alerts I have to set up multiple subscriptions
  • j

    joar

    08/18/2017, 4:55 PM
    This will error:
    Copy code
    subscription UserSubscription {
        User {
          node {
            id
          }
        }
    
        Post {
          node {
            id
          }
        }
      }
    n
    d
    • 3
    • 8
  • d

    dan-lee

    08/18/2017, 7:33 PM
    Regarding `updateOrCreate`: I can't find the example mentioned in this comment: https://github.com/graphcool/feature-requests/issues/25#issuecomment-316313552 Nor can't I find any other mention or usage of this. Can someone tell me how to do this?
    n
    • 2
    • 3
  • s

    steven

    08/18/2017, 8:44 PM
    Does GraphCool also host the ReactJS portion of the app or do I need to host elsewhere?
    d
    • 2
    • 2
  • m

    madbean

    08/18/2017, 8:53 PM
    Hello
  • m

    madbean

    08/18/2017, 8:57 PM
    i m working on the auth with react native expo and auth0 : https://github.com/graphcool-examples/react-native-graphql/tree/master/authentication-with-expo-and-auth0 but i never pass the login step 😞 , someone already make it work ? it look like no event is send to the callback function.
  • m

    madbean

    08/18/2017, 9:09 PM
    i have this error : error while loading : Tunnel exp://url..../+/redirect#access_token=my_token
  • m

    matty

    08/19/2017, 1:51 AM
    just wondering - does the Graphcool API to manage functions exist yet, or will it be released together with the updates to CLI?
    n
    • 2
    • 1
  • m

    matty

    08/19/2017, 2:01 AM
    oh cool, just found this - https://api.graph.cool/system
  • d

    divyendu

    08/19/2017, 9:12 AM
    Not sure how silly I am on a scale of
    1-silly
    with this question 😅 https://www.graph.cool/forum/t/generate-a-unique-id-other-than-id-case-url-shortener/662
    😂 1
    n
    • 2
    • 1
  • a

    antho1404

    08/19/2017, 3:16 PM
    If anyone rocks with the CONNECT permissions I may need some help https://www.graph.cool/forum/t/stuck-with-connect-permissions/665
  • m

    mike.johnson

    08/19/2017, 4:19 PM
    getting a strange error with the CLI, just using graphcool.init returns
    Error: Cannot read property 'addProject' of null
    👍 1
    n
    • 2
    • 3
  • c

    ckelley

    08/19/2017, 4:52 PM
    Is anyone else experiencing 504s for projects in US West?
    ✅ 1
    n
    • 2
    • 7
  • m

    mike.johnson

    08/19/2017, 5:37 PM
    How can I clone my project from US region to the EU region so I can get my functions to actually work?
    l
    • 2
    • 1
  • p

    picosam

    08/19/2017, 6:55 PM
    Hello folks! For those using Apollo with Angular, you know that you can use
    Observable
    variables with
    watchQuery
    to re-fetch data when the
    Observable
    re-emits values. I’m wondering how I may use this with
    filter
    values?
    d
    • 2
    • 1
  • r

    rafal

    08/20/2017, 1:02 PM
    Anyone got issues with lambda package sizes when using serverless-plugin-typescript? Noticed that once I switched from serverless-webpack the package size went up from 1mb to 25mb (presumably because of tree shaking)
1...312313314...637Latest