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

    Ben

    01/27/2018, 12:09 AM
    Also getting auth errors - nothing changed in gc functions in the last month.
  • b

    Ben

    01/27/2018, 12:10 AM
    Same message
    Whoops. Looks like an internal server error. Please contact us from the Console
    👍 1
  • r

    radicand

    01/27/2018, 12:13 AM
    in a custom function, is there a way to determine if the function is invoked from another function vs. by users? i have some utility functions that I don't want users executing.
  • t

    tomhut

    01/27/2018, 12:15 AM
    @radicand If you check the event.body.context.auth.nodeId, this should be set to a userID if it was made by a user
  • r

    radicand

    01/27/2018, 12:18 AM
    thanks -- so look it up, and if it's a match in the user table ignore, otherwise execute (if exists)?
  • t

    tomhut

    01/27/2018, 12:20 AM
    @radicand this value will be nil/null if the request wasn’t made by a user. Just checking for its existence may be enough in your case.
  • p

    pcooney10

    01/27/2018, 12:27 AM
    @jakehewitt @stevewpatterson @tomhut @Ben think it might have something to do w/ rootTokens. The initial query in my app doesnt require a user to be logged in, but the query is a resolver function (that requires a rootToken)*
  • s

    stevewpatterson

    01/27/2018, 12:39 AM
    im pretty much just getting an error with anything that is a mutation or an authenticate resolver
  • s

    stevewpatterson

    01/27/2018, 12:39 AM
    even if I use a Permanent Access Token to override any permissions
  • m

    mbaranovski

    01/27/2018, 8:12 AM
    Hey! Just went through https://github.com/graphcool-examples/react-graphql/tree/master/quickstart-with-apollo and I’m trying to figure out where are my resolvers in the code? I understand that Graphcool is creating all the CRUD resolvers based on types.graphql but where are they stored?
    m
    r
    • 3
    • 12
  • h

    harrisrobin

    01/27/2018, 9:01 AM
    does anyone have a good example of facebook oauth + graphql (without auth0) ?
    d
    m
    • 3
    • 9
  • h

    harrisrobin

    01/27/2018, 9:01 AM
    can't see, to find good examples out there.
    👍 3
  • o

    Omer Arie Goldberg

    01/27/2018, 9:15 AM
    hey, im using graphcool for authentication. was working before and now i’m getting an internal server error from GraphQL. I didn’t change any of the gql code on my side. Has anyone found a fix for this?
    j
    t
    s
    • 4
    • 3
  • o

    Omer Arie Goldberg

    01/27/2018, 9:16 AM
    Error: GraphQL error: Whoops. Looks like an internal server error.
    👍 1
  • m

    matic

    01/27/2018, 9:17 AM
    @jamiehalvorson @Omer Arie Goldberg try redeploying
    j
    s
    o
    • 4
    • 5
  • f

    Fi1osof

    01/27/2018, 11:34 AM
    Is there way return more than 1000 records per request on local prisma?
  • m

    mnichovcan

    01/27/2018, 12:00 PM
    is possible use graphcool framework(permission,auth sysstem serverless) + prisma ?
    m
    • 2
    • 1
  • n

    Nick Luger

    01/27/2018, 12:43 PM
    https://status.graph.cool/ Thank you for fixing function deployments!
    👍 3
    🦜 6
    😃 3
  • r

    rajit

    01/27/2018, 2:19 PM
    Woooo! Amazing news, thank you GraphCool people!
  • l

    lior.chervinsky

    01/27/2018, 3:30 PM
    hey 🙂 i have a question regarding Graphcool’s Yoga / Playground - how can i pass a variable stored in the playground’s ‘HTTP Headers’ sidebar? i’m trying to pass a token stored there for the fetch requests i’m sending.
    m
    • 2
    • 5
  • i

    Ivo

    01/27/2018, 6:24 PM
    Hi, is there an easy way to delete all data in a table?
    j
    v
    • 3
    • 3
  • p

    pokorson

    01/27/2018, 7:00 PM
    hi, I'm trying to do authentication for new API gateway with prisma, I'm using express and auth0. What's the correct approach for this? Should I store received token in db myself? Or auth0 already stores session and I should validate token with some API method?
  • d

    darmie

    01/27/2018, 7:05 PM
    I am having a problem with updating UI in angular 5 after fetching a query...
    Copy code
    this.allUsersSub = this.apollo.watchQuery({
    		query: ALL_USERS,
    		variables: {
    			limit:9
    		}
    	}).valueChanges.subscribe((results) =>{
    		
    		this.kioks = results.data["allUsers"] //Data binding is not working
    		
    		 Object.assign(this.data, results.data); //Data binding is not working
    		
    	}, err =>{
    		console.log(err);
    	})
    How can I get data binding to work in Angular 5 and Apollo?
    k
    • 2
    • 2
  • m

    mnichovcan

    01/27/2018, 7:21 PM
    is possible export data from Grahpcol BaaS and import to prisma ?
    s
    n
    • 3
    • 2
  • s

    Stef

    01/27/2018, 8:16 PM
    Hi all, looks like we had chunky downtime today. It was my boy’s birthday so I was offline. 🔥
  • h

    harrisrobin

    01/27/2018, 9:07 PM
    Needs some polish but I've just uploaded an example of authenticating a user with facebook using Prisma 👇 https://github.com/harrisrobin/prisma-facebook-auth-example Any feedback is welcome and appreciated.
    fast parrot 3
    👍 2
    n
    d
    • 3
    • 2
  • b

    BSD

    01/27/2018, 9:32 PM
    How can I create Object that need reference to another object without create the son object in the same time [ like how to create User without Post in the example ]
    a
    n
    • 3
    • 3
  • i

    igm

    01/27/2018, 11:09 PM
    Hi all, how do I pull the GraphQL schema (sdl) using the CLI? I’m using Relay Modern
    a
    • 2
    • 1
  • r

    rohanray

    01/28/2018, 2:52 AM
    Hello, I need help! We have deployed a Prisma app on production, running on Digital Ocean. I need to update some data base records. On my local, I can access the DB schema which shows on the left hand side below the App schema. How do I access the same thing for the prisma service deployed on DO
    ✅ 1
    s
    a
    m
    • 4
    • 114
  • r

    rohanray

    01/28/2018, 2:53 AM
    I can access the playground at <IP>:4000. However, I do not see the database schema options here. Please help
1...547548549...637Latest