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

    daniele

    10/22/2017, 10:30 PM
    @nilan fair enough however I replied to you question on GitHub
  • w

    wojtek

    10/22/2017, 11:58 PM
    thanks for this graphcool Team 💚 https://www.graph.cool/docs/faq/graphql-combining-multiple-queries-and-mutations-cahzai2eur/
    🎉 2
  • r

    rafaelcorreiapoli

    10/23/2017, 12:21 AM
    Hello! Is it possible to use different environemnt variables depending on the target? When I’m on Staging I want to use API Keys (environment variables) from staging, when in Prod, I want to use different API_Keys
    w
    • 2
    • 1
  • s

    saniyusuf

    10/23/2017, 3:05 AM
    Any work on Offline First with Graphcool?
  • a

    antho1404

    10/23/2017, 6:39 AM
    I updated my docker images and it looks like there is a problem with my functions now, in the logs I always have the following error
    Copy code
    No content to map due to end-of-input
     at [Source: ; line: 1, column: 0]
    Should I ignore this message ? when the function has an error I have all the logs but when everything looks fine I have nothing and I’m not sure the function has been executed
    n
    • 2
    • 1
  • a

    antho1404

    10/23/2017, 6:40 AM
    any idea where this can come from ? I just pushed again my functions but it’s still the same code
  • m

    m.b.iqbal

    10/23/2017, 7:47 AM
    Hi All, Is there a way to secure the schema file download using appollo codegen. Something in the lines of passing a permanent token to download the schema. apollo-codegen introspect-schema <ENDPOINT> --output schama.json
  • t

    timwis

    10/23/2017, 10:36 AM
    Morning folks! It's been a few months since I've perused the docs, and it looks like the new docs lean heavily on using the graphcool CLI to start a project. If I start a project via the graphcool website and configure it there, is it just as compatible with the CLI?
    n
    • 2
    • 1
  • t

    timwis

    10/23/2017, 11:00 AM
    Also, in this new paradigm where you add functions via
    add-template
    , how does one add Auth0 integration? It was really easy from the web UI before, but I don't see it as one of the templates examples.
    n
    f
    • 3
    • 11
  • r

    rein

    10/23/2017, 11:07 AM
    hi everyone, I had a question. If I have a list of items that come from a Graphql query and I want to add filters to that list in the frontend, to give the users some options, is there a way to filter the apollo cache directly? Or is it a matter of using array.filter or reject on the list of items before rendering them. What is a better approach?
  • j

    jvbianchi

    10/23/2017, 11:30 AM
    How can I change my account password in https://console.graph.cool ?
    sadparrot 1
    • 1
    • 2
  • k

    Kyle Jackson

    10/23/2017, 11:38 AM
    Good morning. I am here on the east coast 7:34AM(EST). Hope someone can help. I am working with the react apollo auth0 example and I am having issue in createUser using auth0 idToken which I have tried (https://github.com/graphcool-examples/react-graphql/issues/45) still no luck. Any idea what I have to do to get this example working with auth0 and auth0-lock?
    n
    • 2
    • 3
  • k

    kimf

    10/23/2017, 1:30 PM
    Anyone else not being able to open local playground in the electron app?, It asks for local .graphqlrc file or url, but my local url is not valid as a endpoint
    n
    • 2
    • 12
  • k

    Karandashov

    10/23/2017, 1:38 PM
    Hi! I had a problem with local installation of chromeless for testing. I have project that use chromeless and write some path for chromeless source code. After I run
    Copy code
    npm install /path/to/chromeless
    (and it's end ok). But when I run my project I get
    Copy code
    Error: Cannot find module 'chromeless'
    . What I miss?
  • m

    mwickett

    10/23/2017, 1:43 PM
    Anyone know if it’s possible to do syntax highlighting for graphql inside of template strings? I’m using VSCode.
    u
    • 2
    • 1
  • n

    nephix

    10/23/2017, 1:45 PM
    Is graphcool privacy shield certified?
    n
    • 2
    • 1
  • k

    Karandashov

    10/23/2017, 1:54 PM
    I solve my problem. Before install chromeless you need to run
    Copy code
    npm run build
    in chromeless project folder.
  • r

    rein

    10/23/2017, 3:12 PM
    hi everyone, Im trying to add an image to a post and then updating the list of posts by adding an
    update
    function. All works fine but when I get redirected to the list of posts I get the warning:
    Missing field posts in [ image: { id: 'image_id', url: 'image_url'}]
    and my new post is not shown until I reload the app ( Im working on expo/react native)
  • r

    rein

    10/23/2017, 3:12 PM
    the image part is included in all the posts queries
  • r

    rein

    10/23/2017, 3:17 PM
    current code:
    Copy code
    mutate({
              variables: { imageFileId, updateId, currentUserId },
    
              update: (store, { data: { setImageOnUpdate } }) => {
                const data = store.readQuery({
                  query: FETCH_FRIEND_UPDATES,
                  variables: { currentUserId, offset: 0 },
                });
    
                store.writeQuery({
                  query: FETCH_FRIEND_UPDATES,
                  variables: { currentUserId: ownProps.currentUserId, offset: 0 },
                  data: [setImageOnUpdate.update, ...data.updates],
                });
              },
  • t

    timbuckley

    10/23/2017, 4:15 PM
    Question: If I have a schema that includes
    Copy code
    type Foo @model {
      bars: [Bar!]! @relation(name: "FooBar")
    }
    ...and I want to update it to...
    Copy code
    type Foo @model {
      bar: Bar @relation(name: "FooBar")
    }
    ...then Graphcool shouldn't have a problem with that, correct? Note that I already have an array of
    Bar
    ids uploaded to the
    bars
    field on each record in the
    Foo
    table.
  • p

    panzupa

    10/23/2017, 5:19 PM
    Hi All does anyone uses standalone GraphQl Playground to write permission queries? according to https://docs-next.graph.cool/docs/reference/auth/authorization/permission-queries-iox3aqu0ee#writing-permission-queries-in-a-graphql-playground I should see "button with a key icon" that allows writing permission queries. I don't see such button 😞
    n
    • 2
    • 8
  • g

    geralt

    10/23/2017, 5:52 PM
    Hi All, is there any roadmap of making support for another databases? And is possible to I can try make support for posgresql or another DB?
    n
    • 2
    • 1
  • p

    panzupa

    10/23/2017, 6:06 PM
    @nilan one more question, probably you know the answer. Is there any option OR plans for changing current behavior of GraphCool when returning results where Permission Query is applied. When permission query is applied and blocks current user from performing action (let's say READ action) I get error in result JSON. Why? This is not an error. It's intended, correct behavior
  • p

    panzupa

    10/23/2017, 6:07 PM
    Are you planing to NOT send those "errors" ?
    -.js
  • p

    panzupa

    10/23/2017, 6:08 PM
    also null in edges node are questionable...
  • p

    panzupa

    10/23/2017, 6:08 PM
    do you guys are working on changing this?
    n
    • 2
    • 6
  • d

    dynn27

    10/23/2017, 6:20 PM
    Hi guys... im having 400 error bad request on my mutations using redux thunk
  • d

    dynn27

    10/23/2017, 6:20 PM
    but it works perfectly fine on Graphiql
  • d

    dynn27

    10/23/2017, 6:21 PM
    can someone help me plz stuck since yesterday
    n
    • 2
    • 1
1...387388389...637Latest