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

    be4r

    07/07/2017, 5:13 PM
    i wrote a post about apollo optimistic ui with responses sent from graphcool: https://medium.com/@j4mesjung/apollo-graphcool-optimistic-ui-for-delete-mutations-abc23f8aab18
    👍 4
    🎉 1
  • j

    jony

    07/07/2017, 6:21 PM
    Hi - I was wondering if you're using react-apollo and react-hot-loader, does editing a file causes apollo to re-fetch data?
  • p

    peterp

    07/07/2017, 10:43 PM
    anyway i can delete all the data for one model?
    a
    • 2
    • 1
  • p

    peterp

    07/07/2017, 10:43 PM
    right now i’m using that script i found on graph.cool and querying 250 at a time but its taking awhile (8k records)
  • c

    claym

    07/07/2017, 10:44 PM
    so, i'm trying my first graphql thingy, and i'm importing a fragment and what not. my request is "query LocationList { allLocations { ...LocationName __typename } } fragment LocationName on Location { id name __typename } "
  • c

    claym

    07/07/2017, 10:45 PM
    if i plug that into my playground, it works fine. but running through my react app, I get Cannot query field 'allLocations' on type 'Query'
  • c

    claym

    07/07/2017, 10:45 PM
    any idea what i'm screwing up?
  • c

    claym

    07/07/2017, 11:05 PM
    nevermind, got it. was pointing at the boilerplate endpoint and not mine.
  • c

    ckelley

    07/08/2017, 2:52 AM
    Has anyone else been getting 500s from the file api?
    n
    • 2
    • 33
  • c

    candril

    07/08/2017, 9:27 AM
    Hi all, I'm trying to do a case insensitive contains query on a text field: query search($searchText: String) { allItems(filter: {name_contains: $searchText}) { id } }
    • 1
    • 1
  • g

    georgelovegrove

    07/08/2017, 10:15 AM
    What are the best resources people have used for a social login using expo, auth0 and graph.cool? I've found this resource - https://github.com/graphcool-examples/react-native-graphql although don't want a auth0 login webview, ideally I'd like it to open the facebook app / facebook on the browser, verify and then return to the app.
  • m

    matty

    07/08/2017, 12:09 PM
    @georgelovegrove auth0.js (checkout the SDK section of the auth0 website)
    g
    n
    • 3
    • 3
  • s

    samjbmason

    07/08/2017, 9:46 PM
    Hey all, i hvae just started using graph.cool on a project and having some issue with creating a nested create mutation I have a model called
    Post
    & the dfeault `User `and hve a relation setup of a 1(User) to n(Posts) Im trying to create the Post and a User at the same time with
    createPost
    but in the playground it's saying I have to add
    UserId
    n
    c
    • 3
    • 54
  • s

    samjbmason

    07/08/2017, 9:46 PM
    Has anyone come across this before? Im pretty new to graphql but from the docs I dont see what Im doing wrong
  • a

    auser

    07/09/2017, 12:17 AM
    anyone from graphcool around?
  • a

    auser

    07/09/2017, 12:28 AM
    Not sure if it’s me or not, but adding a second SSS never gets executed… and in fact, when two are added, neither one gets executed
    n
    • 2
    • 1
  • a

    auser

    07/09/2017, 12:30 AM
    yeah, this is weird… now neither one of my functions is getting executed (didn’t change the first function at all)
    a
    • 2
    • 1
  • r

    rafaelcorreiapoli

    07/09/2017, 3:46 AM
    Hi!
  • r

    rafaelcorreiapoli

    07/09/2017, 3:47 AM
    How can I login with facebook without using react-native-lock ?
  • r

    rafaelcorreiapoli

    07/09/2017, 3:47 AM
    I am currently using react-native-fbsdk and obtaining the facebook token
    n
    t
    • 3
    • 2
  • s

    sebd

    07/09/2017, 3:06 PM
    I'm not able to query and filter by an ENUM type on the table USER... so this works:
    Copy code
    query {
      allUsers(filter: {
        name:"seb"
      }) {
        id
        email
        userType
      }
    }
    but this doesn't:
    Copy code
    query {
      allUsers(filter: {
        userType:ADMIN
      }) {
        id
        email
        userType
      }
    }
    even though userType is registered fine
    n
    • 2
    • 10
  • s

    spences10

    07/09/2017, 4:54 PM
    Hi graphcool fam
    d
    n
    • 3
    • 50
  • s

    spences10

    07/09/2017, 4:55 PM
    Can I ask for help/guidance here?
  • s

    spences10

    07/09/2017, 4:55 PM
    I have a simple twitter bot
  • s

    spences10

    07/09/2017, 4:56 PM
    It uses the stream function and is configured to retweet on certain keywords
  • s

    spences10

    07/09/2017, 4:56 PM
    I want to check the tweet text against an mLab instance before tweeting the message
  • s

    spences10

    07/09/2017, 4:57 PM
    So, I have an mLab instance set up
  • s

    spences10

    07/09/2017, 4:57 PM
    I'm a bit confused on how to use graphql and express with teh database
  • s

    spences10

    07/09/2017, 4:57 PM
    I found this channel from this repo: https://github.com/graphcool/graphql-up
  • s

    spences10

    07/09/2017, 5:09 PM
    Just @ me if you have any suggestions
1...260261262...637Latest