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

    user

    08/06/2017, 7:33 AM
    @sebd commented on @eleazar’s file https://prisma.slack.com/files/U6J5FTNHY/F6J1W3QDN/Nested_Mutations.js: @eleazar and your type Location definitely exists? have you tried that mutation in the playground?
    Nested_Mutations.js
  • n

    nilan

    08/06/2017, 7:55 AM
    @eleazar @sebd have a look here https://www.graph.cool/forum/t/trouble-getting-my-nested-mutation-to-work/244/2?u=nilan
  • r

    rein

    08/06/2017, 8:56 AM
    hey guys, I've recently switched to graphcool from firebase in the hopes it will scale better in a personal project I'm working on. The only thing that confuses me for now is authentication. In Firebase Facebook auth as well as email/password auth were a breeze to set up, to a degree that even mails were being sent when you needed it. I've seen a lot of news/questions about authentication in graphcool and I understand some changes are coming to the platform. My question is, are you guys aiming for something as plug and play as firebase does? Or with more setup and subsequently more customization.
    👍 1
  • u

    user

    08/06/2017, 9:03 AM
    @eleazar commented on @eleazar’s file https://prisma.slack.com/files/U6J5FTNHY/F6J1W3QDN/Nested_Mutations.js: Thanks guys, I finally got it to work following this: https://www.graph.cool/docs/faq/flexibility-and-control-with-graphql-variables-thaexex7av/
    Nested_Mutations.js
  • u

    user

    08/06/2017, 9:04 AM
    @eleazar commented on @eleazar’s file https://prisma.slack.com/files/U6J5FTNHY/F6J1W3QDN/Nested_Mutations.js: Like @nilan mentioned earlier, the name of nested types can be found in the playground docs. Therefore, using
    $locations: [CompanylocationsLocation!]
    worked 😄
    Nested_Mutations.js
  • t

    timwis

    08/06/2017, 2:03 PM
    hi folks
  • t

    timwis

    08/06/2017, 2:05 PM
    I'm new to Graphcool, and just trying to imagine what the equivalent to a "local dev environment" is. I'd normally have my collaborators run
    docker-compose up
  • d

    davemcorwin

    08/06/2017, 2:42 PM
    hi gents, a little confused on the Schema Extensions:do the extensions go into the
    project.graphcool
    schema definition?
  • d

    davemcorwin

    08/06/2017, 2:42 PM
    and the arguments can only be scalars, so if I have an
    Account
    type defined, i can’t use that as an argument?
    a
    • 2
    • 2
  • d

    davemcorwin

    08/06/2017, 2:45 PM
    I added one, and when i pushed to graph.cool, it was removed from my
    project.graphcool
    which as a bummer
    r
    a
    • 3
    • 5
  • m

    max

    08/06/2017, 2:52 PM
    Hello everyone - does anyone have advice as to which auth provider I should use? I thinking of either using the native Graphcool Email + Password or Auth0. A while back I heard the Graphcool team were working hard on auth so I was leaning towards the native option
    • 1
    • 1
  • r

    rein

    08/06/2017, 2:58 PM
    @max https://www.graph.cool/forum/t/a-question-concerning-the-future-of-the-authentication-features/494
    👍🏻 2
    👍 1
    m
    • 2
    • 1
  • r

    rein

    08/06/2017, 2:59 PM
    I asked this question to Nilan today, he said he will be answering tomorrow 🙂
  • a

    antho1404

    08/06/2017, 3:41 PM
    I have some inconsistency when i try to create some data with the permissions. The same query sometimes create the data and sometimes return a
    3008 - Insufficient Permissions
    error like the requestId
    simple:cj60w7s127cs301011s9vt198
    . Here is my actual user permission query
    Copy code
    query ($user_id: ID!, $input_projectId: ID!) {
      SomeUserExists(
        filter: {
          id: $user_id,
          projects_some: {
            id: $input_projectId
          }
        }
      )
    }
    Is there something I do wrong or maybe a bug, looks like really random so maybe kind of concurrency issues ?
    • 1
    • 1
  • e

    eleazar

    08/06/2017, 6:27 PM
    Does anyone have any advice for structuring logging in a GraphQL environment (logs for events, button clicks, etc.) or just freestyle?
    p
    g
    • 3
    • 3
  • c

    ckelley

    08/06/2017, 6:55 PM
    Having a lot of issues the past two days with functions; I created a new project so I could migrate from EU to US. No function logs seem to be recording in the US project. I've also noticed that enabling/disabling the function does not work; they are permanently enabled (I can see this because requests are being passed through and executing on AWS)
    a
    • 2
    • 1
  • c

    ckelley

    08/06/2017, 6:56 PM
    Anyone else experiencing this?
  • t

    timwis

    08/06/2017, 7:47 PM
    Holy cow, graphcool is awesome! It takes care of all the boilerplate. really nice. I wonder if there's a way to export all the queries it creates? I wonder what kind of database it's running under the hood.
    n
    a
    • 3
    • 5
  • p

    patrick

    08/06/2017, 9:05 PM
    hey ya’ll. we’re proud to say we built our app on top of graph.cool. announcing it this week. check us out if you have time, https://www.producthunt.com/posts/mirage-world, http://mirage.world
    🎉 6
    n
    • 2
    • 2
  • n

    notrab

    08/06/2017, 9:21 PM
    Has anyone here setup or seen a guide on creating a proxy that forwards requests to Graphcool? Say I wanted a custom domain that forwards requests to Graphcool - is this possible with their cloud front layer?
    d
    • 2
    • 11
  • m

    maxbendick

    08/06/2017, 11:12 PM
    Hi friends, if I have a many-to-many relationship between As and Bs, how can I trigger a function when a new edge between an A and a B is created? I've created a server-side subscription that triggers on updates to As, but it doesn't seem to trigger when edges are added between As and Bs... If a feature like CONNECT and DISCONNECT triggers were implemented (https://github.com/graphcool/feature-requests/issues/146), I think that would solve my problem for sure. Looking for a way to do it now, though.
    d
    • 2
    • 1
  • j

    joshpitzalis

    08/07/2017, 2:50 AM
    I understand that there are times that I don’t want data that updates in real time, but those cases aside, what are the tradeoffs to using subscriptions all the time? https://www.graph.cool/forum/t/why-not-use-subscriptions-for-everything/496
  • d

    dwilliams

    08/07/2017, 5:25 AM
    hey everyone, I'm wondering if anyone else has run into the same problem we are currently experiencing or has a work around when working with Chromeless in AWS Lambda. When requesting a site using 'goto', headless chrome is running into a CORS issue. We have briefly considered making a CORS exception for the lambda and also disabling CORS within chromeless. Would be interested to hear how other people have approached / managed this?
  • s

    spences10

    08/07/2017, 9:08 AM
    File
    and
    User
    are default Types on any GraphCool project, why is this?
    e
    • 2
    • 3
  • m

    mj

    08/07/2017, 9:22 AM
    any ideas on how to do a bulk create?
    Copy code
    mutation CreateAccount(
        $name: String!,
        $v1Id: Int!,
        $contact: [AccountcontactContact] ) {
            createAccount(
                name: $name
                v1Id: $v1Id,
          contact: $contact
            ) {
                id
            }
        }
    Variable ‘$contacts’ of type ‘[AccountcontactContact]’ used in position expecting type ‘[AccountcontactContact!]‘. (line 11, column 5):\n $contacts: [AccountcontactContact] ) {\n ^\n (line 15, column 16):\n contact: $contacts\n
    n
    • 2
    • 1
  • e

    eleazar

    08/07/2017, 9:24 AM
    As I’m doing a migration from another DB, does anyone have any idea how to change the createdAt dates as they’re locked as system artifacts? For example, an upload that was created last year but due to it being locked, it appears as it was newly created. In that sense, do I just create another field to workaround that restriction?
  • m

    mj

    08/07/2017, 9:42 AM
    schema editor would be useful if you have the wrong project id to show an error
    a
    • 2
    • 1
  • n

    naveencody

    08/07/2017, 10:11 AM
    need to know about authentication in graphql
  • n

    naveencody

    08/07/2017, 10:11 AM
    any good resource ?
  • n

    notrab

    08/07/2017, 10:21 AM
    2nd day I can’t save functions. Request ID:
    Request ID: cj620aujn258m0152k6ttefm9
    n
    • 2
    • 6
1...300301302...637Latest