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

    Moritz

    02/16/2018, 6:13 PM
    @Raeesaa Have you been able to resolve issue https://github.com/graphcool/prisma/issues/1909#issuecomment-366157321 by using the beta release? Im still getting the issue after installing the beta release
    a
    n
    • 3
    • 6
  • a

    Adam King

    02/16/2018, 6:59 PM
    Is it possible to query relations through the generated Prisma db object? For example, when I set
    const db = new Prisma({...})
    and then call
    db.query.user({ where: id="id" })
    , the user object returned by Prisma does not include any of user’s relations.
    a
    • 2
    • 3
  • f

    Fitch

    02/16/2018, 7:23 PM
    anyone know of a way to force data deletion of a cluster endpoint in Prisma?
  • f

    Futurekam

    02/16/2018, 7:34 PM
    @Fitch
    Copy code
    prisma local nuke
  • f

    Fitch

    02/16/2018, 7:35 PM
    yeah .. in the cloud .. not local .. im getting cached / hanging vers of data .. just switching cluster endpoints atm
  • r

    Ramsay Lanier

    02/16/2018, 7:36 PM
    @Fitch this is also happenening to me but locally
  • r

    Ramsay Lanier

    02/16/2018, 7:37 PM
    I just updated from 1.1 to 1.2
  • r

    Ramsay Lanier

    02/16/2018, 7:37 PM
    and updated graphql-yoga
  • r

    Ramsay Lanier

    02/16/2018, 7:37 PM
    which seems to be causing this issue
  • f

    Fitch

    02/16/2018, 7:37 PM
    im on 1.2.3 .. but Ill try the yoga updata .. gracias
  • r

    Ramsay Lanier

    02/16/2018, 7:38 PM
    no wait
  • r

    Ramsay Lanier

    02/16/2018, 7:38 PM
    I’m saying I didnt see this issue until I updated
  • f

    Fitch

    02/16/2018, 7:38 PM
    ah .. crap .. then maybe Im already past the update XD
  • f

    Fitch

    02/16/2018, 7:40 PM
    Ill nuke and adjust my package back
  • m

    Moritz

    02/16/2018, 7:45 PM
    hey, when I run
    yarn
    , I get the warnings
    Copy code
    warning "prisma-binding > apollo-link@1.0.7" has incorrect peer dependency "graphql@^0.11.3 || ^0.12.3".
    warning "graphql-yoga > apollo-server-express > apollo-server-core > apollo-cache-control@0.0.7" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0".
    Should I just ignore this or might this be a hint for local graphql version conflict/issues?
  • f

    Fitch

    02/16/2018, 7:46 PM
    yarn add graphql should sort it
  • m

    Moritz

    02/16/2018, 7:47 PM
    thx, that did the trick
    salute 1
  • r

    Ramsay Lanier

    02/16/2018, 8:24 PM
    Is anybody else experiencing caching issues?
  • r

    Ramsay Lanier

    02/16/2018, 8:25 PM
    when I make a mutation to add something, my subscription fired but the client doesn’t update
  • r

    Ramsay Lanier

    02/16/2018, 8:25 PM
    if I do a brower refresh, the new data still doesn’t show up
  • r

    Ramsay Lanier

    02/16/2018, 8:37 PM
    I wonder if because Graphql Yoga requires GraphQL 0.13
  • r

    Ramsay Lanier

    02/16/2018, 8:37 PM
    but it looks like Apollo link, etc doesnt
  • r

    Ramsay Lanier

    02/16/2018, 8:39 PM
    looks like there is a PR in Apollo Client for updating to 13
  • f

    Fitch

    02/16/2018, 8:40 PM
    Ive noticed this in the cli core both on prisma list and prisma import .. kind of odd .. trying to track it down
  • f

    Fitch

    02/16/2018, 8:40 PM
    Copy code
    cli-engine:plugins:manager requiring /usr/lib/node_modules/prisma/node_modules/prisma-cli-core +0ms
      portfinder:defaultHosts exports._defaultHosts is: [ '0.0.0.0', '127.0.0.1', '::1', '10.0.0.178', 'fe80::d:f6ff:fe1d:620c', '172.17.0.1', 'fe80::42:78ff:fe05:debb', '172.18.0.1', 'fe80::42:35ff:feb7:357f', 'fe80::849b:b6ff:fe07:7ec', 'fe80::bca3:c8ff:fea5:f0d1', 'fe80::2093:2bff:fef2:abf4', 'fe80::7027:a3ff:fecb:80dd' ] +0ms
      cli-engine:plugins:manager required +860ms
      plugin required command +866ms
      Environment [ 'graphcool-eu1', 'graphcool-us1', 'shared-public-demo' ] +0ms
      Environment { 'graphcool-eu1': '<https://graphcool-eu1.graphcool.cloud>',
      Environment   'graphcool-us1': '<https://graphcool-us1.graphcool.cloud>',
      Environment   'shared-public-demo': '<https://database-beta.graph.cool>' } +6ms
      StatusChecker setting status checker +1s
  • f

    Fitch

    02/16/2018, 8:41 PM
    If its trying to repeat actions in the core against a public endpoint instead of target .. could definitely cause the behaviour
  • r

    Ramsay Lanier

    02/16/2018, 8:42 PM
    well the other thing is that prisma-binding has a dep of 0.13 for GraphQL, but when I try to
    yarn add graphql
    on the client to install 0.13.1 everything breaks
  • a

    Adam King

    02/16/2018, 8:51 PM
    I fixed a similar issue to the ones mentioned above by adding
    Copy code
    "resolutions": {
      "graphql": "^0.13.0"
    }
    to my package.json.
  • a

    aeblin

    02/16/2018, 9:55 PM
    Hey there, is there a commonly accepted terminology for GraphQL server-side queries that exist to collect data from another source? (e.g. Queries that live on the server and collect data from a REST API)
  • a

    aeblin

    02/16/2018, 9:56 PM
    Using the term query again seems a bit cluttered and confusing, as I tend to see that related to client-side queries to get data from the GraphQL server itself.
1...576577578...637Latest