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

    patrick_madx

    03/05/2018, 8:58 AM
    Anyone experiencing issues with duplicate graphql modules? (in bindings?)
    n
    • 2
    • 1
  • r

    rein

    03/05/2018, 9:18 AM
    Does anyone have a working example of file upload with prisma cloud? I saw the example repo for the prisma server but Im having trouble mapping it to the cloud.
    h
    n
    • 3
    • 9
  • m

    martin

    03/05/2018, 10:22 AM
    Hey guys! Does anyone know how to resolve this issue?
    Copy code
    Error: Cannot use GraphQLNonNull "User!" from another module or realm.
    
    Ensure that there is only one instance of "graphql" in the node_modules
    directory. If different versions of "graphql" are the dependencies of other
    relied on modules, use "resolutions" to ensure only one version is installed.
    
    <https://yarnpkg.com/en/docs/selective-version-resolutions>
    
    Duplicate "graphql" modules cannot be used at the same time since different
    versions may have different capabilities and behavior. The data from one
    version used in the function from another could produce confusing and
    spurious results.
    Thanks!
    n
    p
    • 3
    • 12
  • v

    Vendicto

    03/05/2018, 10:59 AM
    https://github.com/graphcool/graphcool-framework/issues/482
  • m

    Maxime Scibetta

    03/05/2018, 12:05 PM
    Hey guys someone have an idea why he doesn't works ....

    https://puu.sh/zB2j1/8f584f7fef.png▾

    Copy code
    voted(id){
          this.voteId = id;
          console.log(this.voteId)
          client.query({
            query: PROJECT,
            variables(){
              return{
                id: this.voteId
                
              }
            },
            update(data){
            }
    
          })
        }
    Copy code
    import { gql } from 'apollo-boost';
    
    export const PROJECT = gql `
        query project($id: ID!){
            project(where: {id: $id}){
                id
                name
                voted
            }
        }
    `
  • m

    max

    03/05/2018, 12:09 PM
    @Maxime Scibetta maybe you're passing in undefined to
    vote(id)
    ? Also try changing
    Copy code
    variables(){
              return{
                id: this.voteId
                
              }
            }
    m
    • 2
    • 5
  • m

    manticarodrigo

    03/05/2018, 12:29 PM
    Where does the cors middleware go? Can’t upload files to S3…
    -.txt
  • y

    Yoginth

    03/05/2018, 12:41 PM
    Those who like Open Source you can join here guys https://join.slack.com/t/ossdevs/shared_invite/enQtMjkxODY3NDczNjg2LWEzOTA5NzNiZGQ1ZTQxOTcxY2E0ZThlZjBiYTlkYzc0ZWEwYTNkZWY4ZmMyMmVhNjAzYjZmNmFkYTVhYWUzZWI
  • k

    Kyle Gammon

    03/05/2018, 1:04 PM
    Hi guys, any ideas what may be causing this error from a Graphcool resolver? The function called by the resolver is doing some simple logic and communicating with the Graphcool API's (tried via HTTP and via the graphcool-lib library but with the same results). We don't communicate with AWS at all in our project either...
    -.js
    ✅ 1
  • u

    user

    03/05/2018, 1:12 PM
    @manticarodrigo commented on @manticarodrigo’s file https://prisma.slack.com/files/U9J4TSD7Z/F9JM5FWPP/-.txt: I was able to get it working with
    server.express.use('/*', cors())
    . Does this look good?
    -.txt
  • l

    lucas.verra

    03/05/2018, 1:45 PM
    hey guys, rookie question, is graphcool(QL) complementary or REPLACE a parse server on sashido.io ?
    n
    • 2
    • 1
  • p

    pasa

    03/05/2018, 2:17 PM
    When using a basic node installation at prisma init (database w/o auth) shouldn't I be able to get all users by writing
    query { users { id} }
    in the playground. I just get an error like this:
    n
    • 2
    • 1
  • p

    pasa

    03/05/2018, 2:17 PM
    "message": "Cannot query field \"users\" on type \"Query\".",
  • p

    pasa

    03/05/2018, 2:18 PM
    I know this is kind of noob question, but I thought basic resolvers work out of the box.
  • d

    davidyoung

    03/05/2018, 2:32 PM
    @nilan is there by any chance a throttling limit that limits access on the free plan? I'm just developing away here and it seems that the api can be very inconsistent with response times
    n
    l
    • 3
    • 5
  • d

    davidyoung

    03/05/2018, 2:32 PM
    Gateway timing out etc.
  • d

    davidyoung

    03/05/2018, 2:33 PM
    Going to be moving up to the project package once we're in production
  • d

    davidyoung

    03/05/2018, 2:34 PM
    I'm talking about Graphcool Cloud 🙂
  • d

    davidyoung

    03/05/2018, 2:35 PM
    Literally just wondering if it's something I'm doing wrong, because I absolutely love graphcool so far
  • m

    manticarodrigo

    03/05/2018, 3:45 PM
    Is anybody using
    apollo-upload-client
    with
    graphql-yoga
    ?
    n
    m
    l
    • 4
    • 31
  • p

    pasa

    03/05/2018, 6:52 PM
    Hello everyone! I'm kind of confused now... I'm currently creating my first react-based website and I want to use GRAPHQL in it. Currently I'm using the console on graph.cool as my API endpoint. After experimenting with PRISMA, I came to the conclusion, that my planned service would probably be better off, if I keep using Graphcool BaaS, because I'm hosting the service beside my regular job and don't want to spend the extra amount of time for creating and hosting a complete backend for this "application". I'm just wondering, if Graphcool BaaS is still the way to go, respectively if it won't be outdated with the release of Prisma. Additional to that I don't know the necessary steps to make an api endpoint from Graphcool BaaS production ready. I couldn't find any resources concerning the production state of an API service provided by Graphcool BaaS. Could anyone of you bring light in my darkness? 🙂
    🤯 1
    m
    t
    n
    • 4
    • 23
  • h

    hamatek

    03/05/2018, 7:32 PM
    hello general, anyone knows if it's possible to define default value on a @relation field for a type model
    n
    • 2
    • 2
  • h

    hamatek

    03/05/2018, 7:35 PM
    quick_example_of_what_im_trying_to_do_with_stats.php
  • m

    Matteo Zambon

    03/05/2018, 7:46 PM
    Hi guys I’m new to Prisma and I would like to know if I can get support here
  • h

    harmony

    03/05/2018, 7:46 PM
    yes
  • h

    harmony

    03/05/2018, 7:47 PM
    well depends on what kind of support
  • m

    Matteo Zambon

    03/05/2018, 7:47 PM
    I’m trying to setup Prisma as helper to my server which is currently using Apollo and Koa
  • m

    Matteo Zambon

    03/05/2018, 7:48 PM
    Since it’s a modular server based on different packages
    h
    h
    • 3
    • 7
  • s

    steveb

    03/05/2018, 8:39 PM
    Can someone point me to docs on working with different environments (dev, staging, prod) with Prisma and .env files? I thought I had seen some docs, but can't find them now.
    n
    • 2
    • 4
  • l

    lastmjs

    03/05/2018, 8:59 PM
    I've got a permission query question. I'm trying to control who can set the relation for an author, for example the author of a blog post. I want the user creating the blog post to be able to be set as the author, but after that it cannot be changed. I'm confused as to how the permission query will work, because no blog post will have yet been created for me to check against
    • 1
    • 5
1...596597598...637Latest