https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# orm-help
  • g

    grey

    05/31/2018, 7:45 PM
    "@property def get_verify_done(self): return self.scrummygoals_set.filter(goal_type = 'VY')" I need help with this. please how can i re-implement this section in graphql
    -.txt
  • v

    v

    06/01/2018, 12:13 AM
    Can someone from the prisma team can check the issue I just created >(https://github.com/prismagraphql/prisma/issues/2552)? thanks
    👍 1
  • m

    mich

    06/01/2018, 12:30 AM
    Hey, anyone happen to know if the prisma webinars are archived anywhere? Found this old link and wanted to watch https://www.prisma.io/forum/t/graphcool-webinar-building-a-follower-system-with-graphql/122
  • c

    codebeast

    06/01/2018, 12:39 AM
    I am just noticing that instead of
    context.db.query
    , you can just do
    context.query
    . Using Prisma 2.0.2
  • j

    Jeff

    06/01/2018, 5:59 AM
    @codebeast hi, where did you download the prisma 2.0.2,
    k
    c
    • 3
    • 2
  • r

    rein

    06/01/2018, 10:20 AM
    is there anyone who has experience with setting up a dockerized graphql yoga server on Digital Ocean? Would be interested in an example Dockerfile/ general tips
    ➕ 1
    l
    • 2
    • 8
  • d

    Dorkside

    06/01/2018, 10:23 AM
    Darn, still not managing to get Prisma running on DigitalOcen... 😞 Did anyone manage to deploy this recently?
  • j

    James Bellamy

    06/01/2018, 11:06 AM
    me too, https://github.com/prismagraphql/prisma/issues/2548 feel free to add your findings
    n
    d
    • 3
    • 3
  • d

    Dorkside

    06/01/2018, 12:04 PM
    Yup, I'll contribute any hint I come across
  • d

    Dave

    06/01/2018, 2:25 PM
    Does prisma cloud connect talk directly to the mysql DB?
    n
    • 2
    • 5
  • s

    Sam Jackson

    06/01/2018, 2:44 PM
    Does Prisma support subscriptions with queries in them? Like fetch new data when it is created by a certain user? I was looking at a GraphQL boilerplate that uses Prisma and they have it commented out because of a Prisma issue. https://github.com/graphql-boilerplates/vue-fullstack-graphql/blob/master/advanced/server/src/resolvers/Subscription.js
    n
    • 2
    • 2
  • s

    Sam Jackson

    06/01/2018, 3:52 PM
    My GraphQL subscriptions only seem to work with one client at a time. (I have my phone and my laptop open to my app on the same network.) Is this expected behavior?
    n
    v
    • 3
    • 5
  • j

    Jscott388

    06/01/2018, 3:59 PM
    So mongodb still a few weeks away?
    n
    • 2
    • 2
  • d

    Dorkside

    06/01/2018, 4:01 PM
    Out for the week-end, give me a shout on monday if anything changed
    n
    • 2
    • 1
  • w

    wildpow

    06/01/2018, 4:45 PM
    ❓ I’ve used Graphene with Django in a school project to create a GraphQL endpoint from a SQL database. I want to recreate that project with Node/Express and was looking for a equivalent replacement to Graphene. Is Prisma the answer?
    h
    • 2
    • 2
  • s

    splodingsocks

    06/01/2018, 4:59 PM
    I’m trying to use prisma-binding, and according to these docs:
  • s

    splodingsocks

    06/01/2018, 4:59 PM
    https://www.prisma.io/docs/graphql-ecosystem/graphql-binding/prisma-binding-gai5urai6u/#example
  • s

    splodingsocks

    06/01/2018, 5:00 PM
    it looks like I should pass in the path to my datamodel.graphql file in the typeDefs attribute of the Prisma service instantiation
    n
    • 2
    • 37
  • s

    splodingsocks

    06/01/2018, 5:00 PM
    but when I do, I get an error that it couldn’t find the
    unique
    directive in any of the schemas:
  • s

    splodingsocks

    06/01/2018, 5:00 PM
    Error: Directive unique: Couldn't find type unique in any of the schemas.
  • c

    codebeast

    06/01/2018, 5:20 PM
    Any idea why this is incorrect:
    context.request.get('Authorization');
    ? Says
    context.request.get
    is not a function.
    n
    • 2
    • 3
  • r

    Robin

    06/01/2018, 5:47 PM
    I have a question: How can graphql-yoga handle subscriptions on Lambda given that Lambda functions have a limited execution time which at some point would kill the socket?
    n
    • 2
    • 1
  • t

    the-simian

    06/01/2018, 6:00 PM
    Hey on a _contains field using a where statement, how can you make it case insensitive?
  • t

    the-simian

    06/01/2018, 6:01 PM
    Copy code
    query getStuff($searchTerm: String) {
      stuff(
        where: { 
          name_contains: $searchTerm
        }) {
        id
        name
      }
    }
    like this where if
    $searchTerm
    was
    si
    it would return stuff with
    the-Simian
  • t

    the-simian

    06/01/2018, 6:06 PM
    found this already: https://github.com/prismagraphql/graphcool-framework/issues/223
  • t

    the-simian

    06/01/2018, 6:06 PM
    doesn't tell me much
  • t

    the-simian

    06/01/2018, 6:08 PM
    whats super weird issue is that it says its case insensitive in the issue, but I'm using it right now in the playground - its case sensitive for certain
  • c

    csamu

    06/01/2018, 7:00 PM
    I just emailed support@graph.cool and received
    Your email could not be delivered, the address <mailto:graphcool.p3rfrnh@mail.smooch.io|graphcool.p3rfrnh@mail.smooch.io> no longer exists.
    a
    c
    n
    • 4
    • 6
  • v

    virtualirfan

    06/01/2018, 7:34 PM
    Calling all
    Relay
    users who have switched over to prisma … how did you get around this issue: https://github.com/prismagraphql/prisma/issues/1780 for any schema of a decent size?
  • h

    hamdi

    06/01/2018, 9:06 PM
    hi all i can use pattern MVC with mongoose node and react
1...464748...637Latest