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

    harmony

    01/18/2018, 3:25 PM
    seems like it
  • t

    tini2n

    01/18/2018, 3:27 PM
    hi! I have problem https://github.com/graphcool/graphcool-framework/issues/2
    i
    • 2
    • 6
  • t

    tini2n

    01/18/2018, 3:28 PM
    maybe sbdy could help
  • m

    mike.johnson

    01/18/2018, 4:02 PM
    When creating a new project, the "generic" type queries and mutations don't exsist anymore (ie:
    query { User(id: $userId)
    ). Does this mean I need to create resolvers for each query instead of directly querying in the front end?
    👍 1
    s
    k
    n
    • 4
    • 7
  • h

    harrisrobin

    01/18/2018, 4:47 PM
    Question: Is there a way to still use raw SQL queries in Prisma just incase?
    n
    k
    h
    • 4
    • 7
  • j

    johnkpaul

    01/18/2018, 5:09 PM
    In a similar vein, is there a way to provide a connection string or db info for an external database instead of using the cloud version or a local docker container
    n
    • 2
    • 5
  • e

    Emi

    01/18/2018, 6:34 PM
    How to manage permissions/authorization with Prisma? Should the logic be added in the resolvers?
    j
    n
    • 3
    • 2
  • j

    johnkpaul

    01/18/2018, 6:40 PM
    How does prisma relate to apollo server? Can I use an apollo client implementation ootb with prisma?
    i
    n
    • 3
    • 9
  • y

    yuri

    01/18/2018, 6:45 PM
    Can’t setup a local cluster. Every time I get 500 code error. Any ideas? I have latest docker version
    n
    • 2
    • 4
  • y

    yuri

    01/18/2018, 6:46 PM
    Doesn’t work even on clean install
  • y

    yuri

    01/18/2018, 6:46 PM
  • b

    bobbyt

    01/18/2018, 8:49 PM
    Hi, is it possible to pass an authenticated user's ID to a subquery, where the id isn't passed to the parent query? For example:
    Copy code
    {
      user {
        id
        name
        _chatMessagesMeta(filter: { readBy_none: { id:  [** this authenticated user’s ID **] }} ) {
          count
        }
      }
    }
    user
    is an authenticated query, but need to pass that user's id to the
    _chatMessagesMeta
    subquery. Thanks in advance!
  • h

    harmony

    01/18/2018, 8:52 PM
    not like that
  • h

    harmony

    01/18/2018, 8:52 PM
    would have to be in the resolver
  • b

    bobbyt

    01/18/2018, 8:53 PM
    @harmony so, would have to write a custom resolver?
  • h

    harmony

    01/18/2018, 8:54 PM
    yes, probably
  • s

    steven

    01/18/2018, 9:03 PM
    Cache persistence for Apollo Client 2.0 https://dev-blog.apollodata.com/announcing-apollo-cache-persist-cb05aec16325 Looks like Apollo 2.0 has a home grown solution for offline support. Has anyone tried using this and maybe have a sample to show?
    👍 3
    l
    • 2
    • 5
  • b

    bobbyt

    01/18/2018, 9:28 PM
    Where can I find an example of a custom query resolver (not one that's calling an external API)? I don't see any examples in the repo - https://github.com/graphcool/templates/ and the example in the original blog post is incomplete - https://blog.graph.cool/extend-your-graphcool-api-with-resolvers-ca0f0270bca7
  • d

    drdaz

    01/18/2018, 9:46 PM
    Hey guys! Discovered your product today, and it's gotten me pretty excited. I'm finding the documentation problematic though; some of the Quickstart and beginners guides don't quite work. Is that something you're expecting right now? Feels kind of like there's some kinda transition going on that isn't quite finished.
    j
    i
    n
    • 4
    • 6
  • l

    logan

    01/18/2018, 9:53 PM
    does anyone know of a working example for Type
    subscriptions
    ? The
    graphql-yoga/subscriptions
    example works, but doesn’t hook to any Types. https://github.com/graphcool/graphql-yoga/tree/master/examples/subscriptions
  • j

    joelanglois

    01/18/2018, 9:57 PM
    I took a look at prisma, seems there is no way to install a local cluster without Docker? How could be deploy to an OpenVZ host where Docker is not possible?
    j
    i
    • 3
    • 3
  • m

    matty

    01/19/2018, 12:29 AM
    hopefully I don't sound like too much of a hat here... but does anyone else have major concerns with the quality of the product?
    i
    • 2
    • 12
  • a

    aurnik

    01/19/2018, 1:10 AM
    Is there a proper place to post graphql job listings?
    i
    • 2
    • 1
  • e

    enternode

    01/19/2018, 1:15 AM
    hello
  • e

    enternode

    01/19/2018, 1:16 AM
    a query, I change to prism or I can continue with graphcool-framework, I have not yet produced my idea.
    🙂 1
    i
    • 2
    • 1
  • i

    iamclaytonray

    01/19/2018, 2:09 AM
    For anyone wondering about the release of Prisma and the state of Graphcool framework… Prisma does not replace the framework. Rather, they work together. (Not yet implemented completely.) Think of Prisma as a car engine and Graphcool Framework as the rest of the car (body, electrical, ventilation, etc). This should help with perspective to each. One does not cancel the other out. I’m not a core team member and have really just contributed to templates, examples, and other TypeScript parts of the codebase. Nothing serious so what I said may not be 100% accurate 🙂
    👍 2
    n
    • 2
    • 1
  • o

    oxyoxy88

    01/19/2018, 3:38 AM
    I've got this error in chrome when I use subscription. Firefox is okay. [failed: Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received]
  • o

    oxyoxy88

    01/19/2018, 4:14 AM
    https://github.com/graphcool/prisma/tree/master/examples/subscriptions Does this work? Subscription on Prisma database works but doesn't work on App ----- same with https://github.com/graphcool/graphql-server-example same doesn't work https://www.howtographql.com/graphql-js/6-subscriptions/ ----- I can listen subscriptions but responses never come back
  • f

    Fi1osof

    01/19/2018, 5:49 AM
    Is there npm- and yarn- packages actual for https://github.com/graphcool/prisma ? Npm prisma version 1.0.4. On github v1.9.7
  • f

    franky47

    01/19/2018, 7:50 AM
    Are the prisma services online ? Everything from the command line to the playgrounds either times out or throws a 502 bad gateway..
    ✅ 1
    👍 2
    • 1
    • 1
1...526527528...637Latest