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

    alburdette619

    09/05/2017, 11:43 PM
    But I don't seem to be able to add fields of my created types...
  • l

    lastmjs

    09/05/2017, 11:46 PM
    Every time we try to use a relation variable in our permission query, the permission query does not save. There are no errors in the GUI
  • l

    lastmjs

    09/05/2017, 11:48 PM
    Copy code
    query ($input_courseId: ID!, $user_id: ID!) {
     SomeUserExists(
       filter: {
        id: $user_id,
         OR: [{
             ownedCourses_some: {
               id: $input_courseId
             }
           },
             {
             role:ADMIN
           }]
       }
     )
    }
    j
    d
    • 3
    • 22
  • l

    lastmjs

    09/05/2017, 11:49 PM
    This fails to save everytime, and whenever we reopen the permission query it displays an old value that has errors in it:
    Copy code
    {
     SomeUserExists(
       filter: {
        id: $user_id,
         OR: [{
             ownedCourses_some: {
               id: $input_courseId
             }
           },
             {
             role:ADMIN
           }]
       }
     )
    }
  • m

    matty

    09/06/2017, 7:13 AM
    were there some issues yesterday with the File API?
  • m

    matty

    09/06/2017, 7:14 AM
    during a remote client demo, uploads were failing on both their side and my side
  • m

    matty

    09/06/2017, 7:14 AM
    i've changed no code in the demo environment, and today the uploads are working again
  • m

    matty

    09/06/2017, 7:21 AM
    the error message I believe was related to CORS
  • v

    valein

    09/06/2017, 9:22 AM
    I wish to be able to enforce uniqueness on a per-user basis. For example; I have a company type with a name field. Each logged user may have several companies related to them. The name of the company is set by the user on company creation. When running the createCompany mutation I want to check that a name with the specified name has not already been created by that user. In an SQL database I would’ve used a composite primary key to make this kind of uniqueness but in graphcool I don’t know how to do it. Suggestions?
    d
    • 2
    • 14
  • v

    valein

    09/06/2017, 9:31 AM
    Ishankbahl, I believe that decides what your graphcool config file will look like when finished. First option will make it empty, second will pull the schema definition from a project in graphcool and the last will prepopulate the config with an example schema
  • i

    ishankbahl97

    09/06/2017, 9:36 AM
    What input one has to give to choose the second option? I have tried 2 , enter etc.
    d
    • 2
    • 3
  • v

    valein

    09/06/2017, 9:48 AM
    Are there any news on when we will be able to do everything through the CLI, writing our permission queries etc locally and push it to graph.cool in a build process instead of using the console. While the console is great for quickly prototyping stuff and playing around I think for a serious project you need a better, more reproducible workflow that can be versioned controlled etc.
    n
    • 2
    • 1
  • v

    valein

    09/06/2017, 9:49 AM
    Right now I am ignoring this “smell”, (ignorantly?) confident that the graphcool guys is working on it, but some update would be nice 🙂
  • p

    Pieter

    09/06/2017, 10:44 AM
    @nilan I sent a message on intercom yesterday but got no response. Should I rather log it here?
  • f

    freder

    09/06/2017, 11:43 AM
    hi. I have a (
    react-apollo
    ) component that lists all files, and a separate upload component for uploading new files. — Q: how do I get the list to update, after a file has been uploaded? (apollo has http://dev.apollodata.com/react/cache-updates.html#refetchQueries after a mutation, but in
    graphcool
    file uploads aren't mutations, right?)
    d
    j
    • 3
    • 5
  • w

    witek

    09/06/2017, 1:07 PM
    Hi! im trying to create user with auth0 and im getting " The provided idToken is invalid."
  • s

    Slackbot

    09/06/2017, 1:14 PM
    This message was deleted.
    d
    • 2
    • 3
  • w

    witek

    09/06/2017, 1:14 PM
    but stll does not work
  • e

    eder

    09/06/2017, 2:01 PM
    Hi everybody
  • e

    eder

    09/06/2017, 2:03 PM
    im using my own redux in my app for handle my data but in redux extension i only can see this
  • e

    eder

    09/06/2017, 2:04 PM
    i can only see the apollo data
  • e

    eder

    09/06/2017, 2:04 PM
    how could i see my redux data?
    d
    • 2
    • 3
  • m

    mwickett

    09/06/2017, 2:31 PM
    I’m working on a node script to import some data from a project that we’re moving to Graphcool and I’m having some issues with batching and queuing all the mutations that have to happen to import the data. For each JSON record in the incoming data, I need to create a couple of files, and fire off two other mutations to create related nodes. I’m pretty sure it’s just an issue with queuing or batching up the mutations properly. Has anyone gone through this? I’ve been looking at this: https://www.graph.cool/forum/t/import-data-into-node/359
    n
    • 2
    • 17
  • l

    lastmjs

    09/06/2017, 3:13 PM
    This issue is not resolved, and it's stopping our ability to complete our permissions: Every time we try to use a relation variable in our permission query, the permission query does not save. There are no errors in the GUI
    d
    • 2
    • 2
  • l

    lcatallo

    09/06/2017, 4:59 PM
    Hi everyone, when using external functions with webhooks, how can i be sure that is in fact Graphcool calling them and not someone else? I looked in the documentation and found nothing about this. I was thinking of using a custom header, but i'm not sure of the security implications.
    a
    • 2
    • 1
  • m

    monkeybonkey

    09/06/2017, 8:31 PM
    Is there a way to re-enable email membership auth - I had to rollback moving away from it - but now I get an error message saying the email field already exists
    a
    • 2
    • 2
  • d

    donald

    09/06/2017, 8:59 PM
    Anyone know what the maximum number of items is that can be in the list for a
    _in
    argument in a query?
  • d

    donald

    09/06/2017, 9:01 PM
    e.g. in
    query { allPosts(filter: { title_in: ["My biggest Adventure", "My latest Hobbies"] }) { id } }
    , what is the maximum size of the
    title_in
    array?
    a
    • 2
    • 2
  • j

    jcarva

    09/07/2017, 3:53 AM
    Hey everyone, I have a good point about query limitations using React + Apollo + Graphcool on Graphcool forum (https://www.graph.cool/forum/t/query-without-pagination-limits/845). If someone can have a look and wanna help me would be extremely nice, 😉😄.
    c
    • 2
    • 2
  • a

    albyanez

    09/07/2017, 5:30 AM
    I get this error when following the howtographql tutorial: Uncaught (in promise) Error: GraphQL error: No CONNECT permissions The error happens when creating a Link. I Login without errors. Could someone explain the error to me??
1...331332333...637Latest