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

    domthegrom

    06/20/2017, 4:33 AM
    Heyo. Just getting started with using GraphCool on my new project. Looking forward to it. Be ready for some silly questions from me 😂
    👍🏻 1
    n
    • 2
    • 3
  • d

    dohomi

    06/20/2017, 6:24 AM
    Hello, is there any issue on graphcool at the moment? I am unable to fetch my schema with the gqlschema command. Receiving a 500 Internal Server Error
    👍 1
  • a

    afgh

    06/20/2017, 8:06 AM
    I’m seeing CORS no access errors all of a sudden, anyone else been getting these since last night?
    ✅ 1
    n
    • 2
    • 1
  • r

    ragnorc

    06/20/2017, 9:03 AM
    Hello, I am now suddenly getting this error, was working previously: Error: GraphQL error: Whoops. Looks like an internal server error. Please contact us in Slack (https://slack.graph.cool) and send us your Request ID: cj45cag0p0b5c0120gwej57we
    n
    g
    t
    • 4
    • 19
  • v

    visualbbasic

    06/20/2017, 9:48 AM
    😉
  • a

    alberto

    06/20/2017, 10:49 AM
    failing: curl -X POST 'https://api.graph.cool/file/v1/cj32stjcejrrx0122izzrpfob' -F "data=@fff.png;filename=myname.png" -v
    a
    • 2
    • 1
  • a

    alberto

    06/20/2017, 10:49 AM
    any idea on why?
  • d

    delgermurun

    06/20/2017, 11:22 AM
    Hello, Can I define array of nested objects in Schema? Something like
    Copy code
    books: [{name: String}]
    I don't want separated collection (in DB), just embedded list in object.
    a
    • 2
    • 2
  • p

    ppatidar

    06/20/2017, 11:25 AM
    @nilan There any option for group by in query?
    a
    • 2
    • 2
  • j

    joar

    06/20/2017, 11:53 AM
    any ETA on deleteAll? I have 150k entries that need deleting heh
    a
    n
    • 3
    • 13
  • y

    yousef.samir

    06/20/2017, 12:46 PM
    Hello
    ✅ 1
  • y

    yousef.samir

    06/20/2017, 12:46 PM
    I'm trying to use permissions query to allow document creator or admin only to update document I've 3 roles as enum [ADMIN, USER, CREATOR] My problem is when using the below query: - I got an error even when running it as ADMIN user in playground - Always succeed if I changed ADMIN to CREATOR
  • y

    yousef.samir

    06/20/2017, 12:46 PM
    query ($user_id: ID!, $node_id: ID!) { SomeUserExists( filter: { OR: [ {AND: [ {id: $user_id}, {role: ADMIN} ]}, {AND: [ {id: $user_id}, {documents_some: { id: $node_id }} ]} ] } ) }
  • f

    franzp

    06/20/2017, 2:33 PM
    Hi I got a server error here is my request id cj45o4xdm3s0n0100gv00bzwt
    ✅ 1
    n
    • 2
    • 1
  • y

    yolen

    06/20/2017, 2:35 PM
    Dear all. Trying to use the following (test) inline code in my SSS function
    n
    h
    • 3
    • 5
  • y

    yolen

    06/20/2017, 2:35 PM
    Copy code
    const fetch = require('isomorphic-fetch')
    
    module.exports = function (event) {
      fetch('<https://jsonplaceholder.typicode.com/users/>')
      .then(response => {
        console.log(response)
        return response.json()
      }) 
      .then(data => {
        console.log(data);
        return data
      })
    }
  • y

    yolen

    06/20/2017, 2:36 PM
    The fetch function returns nothing (not expected). Can you help ?
  • f

    franzp

    06/20/2017, 2:39 PM
    @yolen just copying your fetch code in my js console is working. Do you get anything if you log the catch callback ?
  • f

    franzp

    06/20/2017, 2:39 PM
    fetch('https://jsonplaceholder.typicode.com/users/') .then(response => { console.log(response) return response.json() }) .then(data => { console.log(data); return data }).catch((e) => {
  • f

    franzp

    06/20/2017, 2:39 PM
    console.log(e.message);
  • y

    yolen

    06/20/2017, 2:41 PM
    does it run the Graphcool console?
  • y

    yolen

    06/20/2017, 2:43 PM
    runs fine in chrome
  • s

    steven

    06/20/2017, 4:02 PM
    In Quickstart iOS, should add that you need to cd into Instagram directory before running Carthage update. Also in demo when posting two exact posts were made at the exact same time, with different id’s . How would you prevent double postings?
    n
    • 2
    • 2
  • a

    amann

    06/20/2017, 4:32 PM
    Is there a way to pass in arguments/variables that are not defined in the schema to a mutation so that you can use them in the request pipeline?
    n
    h
    • 3
    • 11
  • d

    domthegrom

    06/20/2017, 4:47 PM
    Quick question: I am building a dynamic
    CardStack
    that takes in an
    ImageURL
    a
    name
    and a
    price
    from a price index API that I am using. How can I have my
    CardStack
    approve the addition of a new card based on my API and whether it has that price for that certain item? As well as decline the addition to the
    CardStack
    if the API doesn't have the price.
    n
    • 2
    • 4
  • d

    domthegrom

    06/20/2017, 4:48 PM
    If this doesn't make sense let me know! I'll try to reiterate it in a better way
  • a

    ajmakhl

    06/20/2017, 6:13 PM
    is graphql and redux compatible?
    a
    • 2
    • 1
  • a

    andyblack

    06/20/2017, 10:24 PM
    Hey, just signed up and followed the Auth0/Apollo tutorial, but getting CORS errors. What's up? I see similar questions have been asked the last few weeks, but the reply is always "I'll follow up in a PM" (sad face)
    n
    t
    • 3
    • 14
  • a

    aurnik

    06/20/2017, 10:47 PM
    Is there a way in the request pipeline to skip the write and return a custom response? I see that I can technically return a value in the error message but I was wondering if there was a more efficient way
    a
    • 2
    • 10
  • m

    mike.johnson

    06/20/2017, 11:13 PM
    is there a way to setup a has_many: through type relation?
    a
    • 2
    • 103
1...236237238...637Latest