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

    jay

    03/27/2018, 6:09 PM
    I have a question
  • j

    jay

    03/27/2018, 6:10 PM
    can I run graphcool on my own servers?
  • j

    jay

    03/27/2018, 6:12 PM
    ding-dong πŸ””
    l
    n
    • 3
    • 16
  • d

    devan

    03/27/2018, 7:29 PM
    I’m unable to use apollo-boost and react-apollo in my app seemingly. Every time I
    yarn add graphql apollo-boost react-apollo
    , setup my client and
    ApolloProvider
    , and load the app, I get console errors galore like this:
    Copy code
    Error: Cannot find module "graphql/language/printer"
    ./node_modules/graphql-tag/src/index.js
    Module not found: Error: Can't resolve 'graphql/language/parser' in '/Users/devan/client-dashboard/frontend/node_modules/graphql-tag/src'
    Can anyone help me with this?
    n
    • 2
    • 2
  • e

    ed

    03/27/2018, 8:52 PM
    is there a way to make a batch update? furthermore than doing a promise.all and running multiple updates?
  • e

    ed

    03/27/2018, 8:53 PM
    I am working on notifications and I need to make a batch update to make them all read once user clicks on notification button, it seems too much requests to server using promise.all for such a simple feature. Thanks in advance guys
  • e

    eugenistoc

    03/28/2018, 3:07 AM
    Hey, I’m kind of confused about Prisma. It it the next β€œbig” thing after the self-hosted graphcool service? Why do I need it? It seems that I would need to do manual work to configure it as opposed to just using the self-hosted graphcool service where I design the schema and I’m ready to go. Can someone clarify? I’m just trying to build a frontend management system app, is Prisma overkill? Documentation is not very helpful. Its referencing many other projects on github with not very good explanation how they relate to prisma.
    z
    • 2
    • 1
  • m

    Michael Jones

    03/28/2018, 3:28 AM
    Relay modern vs Apollo is an age old debate, I know. Currently I am using Relay modern but I am honestly tempted to switch over to Apollo. Anyone have any strong opinions towards one or the other?
    m
    • 2
    • 2
  • k

    Kevin Grandon

    03/28/2018, 6:38 AM
    I recently picked apollo for a project, I think it’s really the only choice if you want good server rendering.
  • p

    pdrizzle

    03/28/2018, 6:53 AM
    Hey everyone, I've created a question in Graphcool forum as I have been stuck on this problem for a while now...any help would greatly be appreciated...thanks! https://www.graph.cool/forum/t/graphcool-dating-app-nested-mutation/2948
  • j

    Josef Henryson

    03/28/2018, 9:02 AM
    Does anyone know if it is possible to update/delete files in the file API with PUT/DELETE? I’m using GC framework, not prisma. I’m not referring to the File system type, but to the physical file itself.
  • k

    Kartik Subramanian

    03/28/2018, 9:45 AM
    Hi there. I'm new to GraphQL and I've been fascinated about starting to play around with it. I would like to know if any of you here have exposed public APIs that developers can consume using GraphQL? While I dont think there is any limitation as such, I just want to know if there are anyone who have implemented this
    m
    s
    • 3
    • 2
  • a

    Akshay

    03/28/2018, 10:32 AM
    Hi guys, does anyone know how to install third party node modules from console graphcool project?
    m
    • 2
    • 15
  • e

    EatCode

    03/28/2018, 10:38 AM
    What's up! I'm building my first GraphQL web app and I'm using the email password authentication integration
  • e

    EatCode

    03/28/2018, 10:39 AM
    Is it possible to manually add a user to the user data?
  • e

    EatCode

    03/28/2018, 11:01 AM
    Figured_it_out__.scm
  • u

    user

    03/28/2018, 11:57 AM
    @rock-n-node commented on @EatCode’s file https://prisma.slack.com/files/U9WRSSK6D/F9XCSMDPC/figured_it_out__.scm: yes
    Figured_it_out__.scm
  • m

    max

    03/28/2018, 12:48 PM
    Has anyone used Netlify's new AWS lambda integration? Would be cool to use Netlify for the whole graphcool/prisma workflow i.e. React deployment + server. I'm happy with Apex/Up and AWS S3+ Cloudfront so probably won't be moving over just yet https://www.netlify.com/blog/2018/03/20/netlifys-aws-lambda-functions-bring-the-backend-to-your-frontend-workflow/
    πŸ‘ 1
  • p

    pettanko

    03/28/2018, 2:36 PM
    Anyone that have played with React-Apollo 2.1? I don't seem to be able to resetStore() from Mutation component's onCompleted(). So I wonder if someone have a tip for doing this? (Simple solution I found was to pass props down, idk if that is stupid or not)
    m
    • 2
    • 5
  • e

    EatCode

    03/28/2018, 5:18 PM
    How do I get the current login state to create a navigational gaurd in vue-router? I'm saving the current userId in localStorage if the login is successful and grab based on this id the user's data using a currentUser query, do you guys recommend reading the cache to see if the data from a currentUser query exists? I guess this will only work if we're able to detect when an 'unauthorized' apollo error occurs so we can clear this data out, can I attach a global error handler or apollo?
  • r

    Rick

    03/28/2018, 5:57 PM
    Hey All,
    πŸ–– 3
  • r

    Rick

    03/28/2018, 6:05 PM
    Question, trying to wrap my head around Prisma, and it seems to be doing for graphql what LoopBack does for REST. Is that about right?
  • f

    Fitch

    03/28/2018, 6:08 PM
    not quite right... its more like if you created an ORM/Waterline service with swagger that adjusted both the API and Datamodel dynamically when the swagger doc was updated
  • f

    Fitch

    03/28/2018, 6:09 PM
    but functionality wise to the front end it is similar in supported methods
  • r

    Rick

    03/28/2018, 6:13 PM
    Got it.
  • n

    nilan

    03/28/2018, 6:16 PM
    Maybe this helps as well, @Rick: https://www.prisma.io/docs/reference/introduction/what-is-prisma-apohpae9ju πŸ™‚
  • r

    Rick

    03/28/2018, 6:30 PM
    I just blazed thru the tutorial thinking I would just figure it out from the code - nope πŸ€”Thanks.
  • t

    taikn

    03/28/2018, 6:41 PM
    I am trying to setup server-side subscriptions without any luck 😞. It seems that
    webhook
    is never called, though in the prisma dashboard i see a graph showing number of subscription events. I've also removed filtering logic from subscription query as suggested here: https://github.com/graphcool/prisma/issues/2109 but it still doesnt work, anyone was able to get server-side subscriptions working?
  • c

    Christian Genco

    03/28/2018, 7:09 PM
    The file api (https://www.graph.cool/docs/reference/graphql-api/file-management-eer4wiang0/#uploading-files) is super cool, but if I'm reading this correctly I could hijack anyone's GraphQL account and use it as a free S3 account if I just have their
    project_id
    ? ie: I can post a 300MB file to your
    <https://api.graph.cool/file/v1/__PROJECT_ID__>
    and get back a public URL to that file, and I can do that until you get your next graph.cool bill and delete my files
    f
    • 2
    • 25
  • l

    lawjolla

    03/28/2018, 7:48 PM
    Has anyone worked with
    merge-graphql-schemas
    and Prisma (or more generically a file loader)? It imports and merges your schemas (from file loading) and resolvers. But I don't see how it can load selected types like graphql-import, e.g.
    # import User from './generated/prisma.graphql
    . Is there a way to combine the two?
1...623624625...637Latest