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

    Kevin S

    02/12/2018, 9:52 PM
    I appreciate the help! I'm honestly more than a little annoyed. This project was supposed to be production-ready, but it's quite a nightmare.
  • k

    Kevin S

    02/12/2018, 9:52 PM
    Thanks, though!
  • w

    wesbos

    02/12/2018, 9:52 PM
    😕 been there before - good luck
  • s

    Stef

    02/12/2018, 10:08 PM
    @Kevin S are you able to clone the project? If so, do that, turn off all the functions and then one by one see if you can refactor so that they are webhooks that call off to another FaaS provider. I’ve been doing this for the last couple of weeks. Essentially making a pub/sub receiver for each function that returns immediately, and then doing the heavy lifting on Lambda/Cloud Functions/etc. Not the news you want to hear, but that was my solution.
    k
    n
    • 3
    • 14
  • r

    rein

    02/12/2018, 10:21 PM
    is it possible you cannot filter on a List of type String in a query?
  • d

    dkjess

    02/12/2018, 11:05 PM
    Hola from Mexico. I'm new to both GraphQL and Graph.cool so forgive me for asking stupid questions.
  • d

    dkjess

    02/12/2018, 11:05 PM
    Do any of you have ideas for using graph.cool on top of a stack of legacy SOAP apis?
  • v

    Vijay

    02/13/2018, 2:57 AM
    Is there a way to do a migration in the schema from a string to an array?
    t
    n
    n
    • 4
    • 6
  • p

    patstrz

    02/13/2018, 5:24 AM
    Hi all I keep getting this message:
    Copy code
    {
      "data": null,
      "errors": [
        {
          "message": "Cannot use GraphQLSchema \"[object Object]\" from another module or realm.\n\nEnsure that there is only one instance of \"graphql\" in the node_modules\ndirectory. If different versions of \"graphql\" are the dependencies of other\nrelied on modules, use \"resolutions\" to ensure only one version is installed.\n\n<https://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate> \"graphql\" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.",
          "locations": [
            {
              "line": 2,
              "column": 3
            }
          ],
          "path": [
            "feed"
          ]
        }
      ]
    }
    Here is the repo https://github.com/PatrickStrz/prisma-ts , I I started a project with the advanced typescript boiler plate.
    n
    • 2
    • 1
  • r

    rein

    02/13/2018, 9:30 AM
    hey guys, quick question, is it possible to filter on a whether or not a string is present in a List on the object? When I try the playground, I dont get any filter options for the List property. Am I doing something wrong?
    n
    • 2
    • 1
  • a

    Andrii Los

    02/13/2018, 10:56 AM
    Is there any chance to get an regular schema (not a relay one) as we do using graphql-cli get-schema using graph.cool UI (using Export schema button) instead of doing all that graphql-cli thing?
    n
    • 2
    • 1
  • t

    tpyo

    02/13/2018, 11:15 AM
    colleague of mine states playground's auth is busted, only works the once. Sounds legit? Are there magic runes for work around?
    n
    • 2
    • 1
  • t

    tpyo

    02/13/2018, 11:17 AM
    @rein isn't the idea that this sort of operation is end-point specific?
  • t

    tpyo

    02/13/2018, 11:18 AM
    much like the is18 property in the graphql tutorial examples
  • t

    tpyo

    02/13/2018, 11:18 AM
    as opposed to > 18
  • t

    tpyo

    02/13/2018, 11:20 AM
    i.e. query stuff(somelist_contains:'smth'){stuff-name}
  • m

    maverick

    02/13/2018, 11:26 AM
    When doing prisma login, after the browser pop up, my command line basically just loops the below query { secret: '$xxxxxx' } +1ms client { headers: {} } +0ms client Sending query to cloud api +1s client https://api.cloud.prisma.sh +0ms client query ($secret: String!) { client cloudTokenRequest(secret: $secret) { client secret client token client } client } +0ms its starting to feel like a infinite loop, as i've been waiting for ever and have stopped and started it a few times (after plus 15 minute waits)
    n
    • 2
    • 5
  • t

    terion

    02/13/2018, 11:26 AM
    @nilan could you please give feedback here? https://github.com/graphcool/prisma/issues/1808
    ✅ 1
  • y

    yolen

    02/13/2018, 11:40 AM
    I cannot clone projects in the console all the sudden. Any other experienced the same problem?
    n
    • 2
    • 2
  • p

    patrick

    02/13/2018, 11:42 AM
    Is there a way to filter based on the current user id in a query? (without passing it as a query parameter)
    m
    • 2
    • 4
  • h

    HriBB

    02/13/2018, 11:48 AM
    Hey, I am unable to access the local prisma endpoint on an open airport WiFi
    Copy code
    [Network error]: FetchError: request to <http://localhost:4466/prisma/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
    Error: request to <http://localhost:4466/prisma/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
        at Object.checkResultAndHandleErrors (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/errors.js:73:34)
        at Object.<anonymous> (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:89:52)
        at step (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:40:23)
        at Object.next (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:21:53)
        at fulfilled (/home/bojan/www/dental/prisma/server/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:12:58)
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)
    a
    • 2
    • 14
  • h

    HriBB

    02/13/2018, 11:48 AM
    Anyone had the same problem?
  • y

    yolen

    02/13/2018, 11:53 AM
    which npm package are we supposed to use? graphcool or graphcool-framework?
  • y

    yolen

    02/13/2018, 11:54 AM
    https://www.npmjs.com/package/graphcool
  • y

    yolen

    02/13/2018, 11:54 AM
    https://www.npmjs.com/package/graphcool-framework
  • y

    yolen

    02/13/2018, 11:54 AM
    I think that the docs have been changing on this issue?
  • c

    chakrihacker

    02/13/2018, 11:59 AM
    @yolen you have to use prisma now
    a
    y
    • 3
    • 2
  • w

    Wincent

    02/13/2018, 12:31 PM
    is it possible to make graphcool return data instead of "Insufficient Permissions" error when the authenticated user has read permissions to parts of the result tree / list ?
    m
    • 2
    • 10
  • m

    mv

    02/13/2018, 12:58 PM
    Hey guys, I'm trying to migrate to prisma, and I've a very frustrating issue when trying to connect Apollo to the local server. The doc is not crystal clear about this, as it gives contradictory info regarding which uri to use. So: 1) I'm able to use the playground properly, both for app and database 2) When trying to connect Apollo to the server (localhost:4000), I get a 400 error (bad request) 3) If I follow the doc here https://github.com/graphcool/prisma/blob/master/docs/1.1/01-Quickstart/03-Frontend/01-React/01-Apollo.md it says I should use the HTTP endpoint obtained when executing
    prisma deploy
    , but it's the DB endpoint... so I don't have access to my resolvers.
    m
    n
    • 3
    • 6
  • p

    pokorson

    02/13/2018, 1:49 PM
    Hi, does
    graphql-yoga
    do somekind of query caching when used with Prisma? When I delete some data in playground from
    db
    I still get it to my client app until I restart server 😕
    a
    • 2
    • 2
1...570571572...637Latest