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

    abhiaiyer

    05/26/2018, 3:01 AM
    Anyone having trouble Logging w/ Github on Prisma UI?
    n
    • 2
    • 1
  • s

    Sam Jackson

    05/26/2018, 5:14 AM
    I am confused—are Prisma and the GraphQL server deployed at the same time or must they be deployed separately?
    n
    • 2
    • 3
  • p

    picosam

    05/26/2018, 9:50 AM
    Hello, while moving a service from Graphcool to Prisma, I’m considering options for image storage. What I have in mind so far is to use resumable file uploads on Google Cloud Storage to upload files from the browser (getting a pre-signed URL using Yoga) then storing all image meta data as
    Json
    fields, effectively having an SDL such as:
    Copy code
    type User {
      photos: [Json!]!
    }
    I know I would not be able to filter on images in that case, but this is not something I need as I would always be retrieving all user images. Any other known limitations or pitfalls to this anyone is aware of?
    n
    • 2
    • 45
  • m

    mxmzb

    05/26/2018, 12:15 PM
    i am looking for a fresh idea to showcase graphql in a talk, don’t want to build another graphql api on top of an existing rest one or similiar. anyone got a good idea? 🙂
    m
    • 2
    • 1
  • j

    Jim

    05/26/2018, 2:38 PM
    Has anyone set up syntax highlighting for the server console output? Mine is ugly.
  • v

    v

    05/26/2018, 3:38 PM
    Hey 🙂
    n
    • 2
    • 1
  • n

    nilan

    05/26/2018, 3:42 PM
    great to have you with us @v @Cloudgrimm 😊
  • v

    v

    05/26/2018, 3:42 PM
    🙂
  • p

    pe

    05/26/2018, 4:01 PM
    Hey all- I am at the beginning of the
    graphql ruby tutorial
    and am getting an error on
    rails db:create
    😞 can't even start the project. I have Stack O'd the issues but nothing seems to work. this is likely an easy fix but I am NOOOOOOOObs
    Copy code
    rails db:create --trace
    ** Invoke db:create (first_time)
    ** Invoke db:load_config (first_time)
    ** Execute db:load_config
    ** Execute db:create
    rails aborted!
    ActiveRecord::AdapterNotSpecified: 'local' database is not configured. Available: ["default", "development", "test", "production"]
    I have the full stack trace if helpful. THANK YOU!!
    n
    • 2
    • 9
  • s

    Sam Jackson

    05/26/2018, 5:19 PM
    When you generate a GQL/Prisma project with a boilerplate, as shown in the Prisma docs, where is that data being hosted?
    n
    • 2
    • 1
  • m

    Mukobi

    05/26/2018, 6:47 PM
    Hi all, the docs say
    As of today, the conversion from any concrete data source (like MySQL, MongoDB or Firebase) to NDF must be performed manually
    but I haven't been able to find much more than that. Are there any resources or tools explaining how to convert a database to NDF further?
    n
    • 2
    • 1
  • s

    Sam Jackson

    05/26/2018, 7:11 PM
    Has anyone gotten the below error when running
    graphql get-schema --project database
    Copy code
    warning command prepare both exists in plugin <project-path>/node_modules/graphql-cli-prepare and is shipped with the graphql-cli.
    The plugin is being ignored.
    ⠋ (node:30922) ExperimentalWarning: The fs.promises API is experimental
    ⚠ Boxed Error: {"response":{"errors":[{"message":"Boxed Error","requestId":"us1:api:cjhnrro7ar4ed0b62pgb6uw6w"}],"status":500},"request":{"query":"\n    query IntrospectionQuery {\n      __schema {\n        queryType { name }\n        mutationType { name }\n        subscriptionType { name }\n        types {\n          ...FullType\n        }\n        directives {\n          name\n          description\n          locations\n          args {\n            ...InputValue\n          }\n        }\n      }\n    }\n\n    fragment FullType on __Type {\n      kind\n      name\n      description\n      fields(includeDeprecated: true) {\n        name\n        description\n        args {\n          ...InputValue\n        }\n        type {\n          ...TypeRef\n        }\n        isDeprecated\n        deprecationReason\n      }\n      inputFields {\n        ...InputValue\n      }\n      interfaces {\n        ...TypeRef\n      }\n      enumValues(includeDeprecated: true) {\n        name\n        description\n        isDeprecated\n        deprecationReason\n      }\n      possibleTypes {\n        ...TypeRef\n      }\n    }\n\n    fragment InputValue on __InputValue {\n      name\n      description\n      type { ...TypeRef }\n      defaultValue\n    }\n\n    fragment TypeRef on __Type {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n                ofType {\n                  kind\n                  name\n                  ofType {\n                    kind\n                    name\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  "}}
    a
    n
    • 3
    • 3
  • s

    Slackbot

    05/26/2018, 7:33 PM
    This message was deleted.
    a
    a
    n
    • 4
    • 12
  • v

    v

    05/26/2018, 11:49 PM
    Copy code
    [void@HooliPadPro hackernews-node]$ prisma deploy
    (node:16333) ExperimentalWarning: The fs.promises API is experimental
    { Error: GraphQL Error (Code: 400):
    Hmm
  • v

    v

    05/26/2018, 11:52 PM
    (the output is a lot longer)
  • v

    v

    05/27/2018, 12:13 AM
    It might be the fact i'm using 1.6.3, but it's because howtographql.com hasn't been updated yet
    n
    • 2
    • 2
  • d

    Dukuo

    05/27/2018, 2:06 AM
    Howdy everyone!, my name is Dilip, i'm a developer from Chile currently working on a platform to make nutritionists life easier and patients life healthier called Bifit .. http://bifit.cool
  • d

    Dukuo

    05/27/2018, 2:07 AM
    So .. I was wondering one thing about Prisma... is there any repo where the image is located at ?
  • d

    Dukuo

    05/27/2018, 2:07 AM
    the prisma image that's on Docker Hub
    n
    • 2
    • 2
  • z

    zanmat0

    05/27/2018, 2:47 AM
    is it possible to integrate an express app's functionality into a graphcool service?
    j
    n
    • 3
    • 4
  • z

    zanmat0

    05/27/2018, 2:47 AM
    or is the service not that extensible?
  • s

    Sam Jackson

    05/27/2018, 2:51 AM
    Does anyone have an example of using an
    upsert
    operation in the context of a resolver? like
    ctx.db.mutation.upsertSomething(...)
    n
    • 2
    • 1
  • j

    Jscott388

    05/27/2018, 4:14 AM
    Anyone know the general cost of prisma on fargate?
  • w

    weakky

    05/27/2018, 3:31 PM
    Hohai ! Just to be sure, can anyone confirm that there are no ways as of now to perform soft delete ? 😣
    n
    • 2
    • 4
  • s

    sonicrida

    05/27/2018, 3:57 PM
    What database does the prisma demo server use?
    s
    n
    • 3
    • 6
  • a

    ahmetozel

    05/27/2018, 4:15 PM
    Hi everyone, I'm having trouble using the ".type" method in Chromeless. For example I can not access the elements in the iframe. How I can solve Thank you so much 🙂
  • z

    zanmat0

    05/27/2018, 7:16 PM
    what version of node is available to a deployed graphcool service? I'm not able to use utils library in a deployed instance
    n
    • 2
    • 1
  • m

    mtliendo

    05/27/2018, 7:47 PM
    Sooo, total newb at this, (as in day 2) but am I right in saying, “prisma is like graphql for Heroku.”?
    s
    n
    • 3
    • 4
  • d

    Devin

    05/27/2018, 8:13 PM
    Hey, if the generated prisma file does not update input on types when you update a mutation and model what can be done to force it to regenerate? I tried to delete the generated
    prisma.graphql
    file but it won't regenerate when I use
    prisma deploy
    n
    • 2
    • 1
  • s

    Sam Jackson

    05/27/2018, 8:56 PM
    Can I do a nested connection on a mutation?
    h
    a
    o
    • 4
    • 12
1...414243...637Latest