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

    Mark

    09/11/2018, 4:15 AM
    looks like there's a forum topic about it that's gone stale: https://www.prisma.io/forum/t/still-possible-to-export-data/2671/3
  • m

    Mark

    09/11/2018, 4:17 AM
    i've also tried using the following curl command but am getting a `500 Internal Server Error`:
  • m

    Mark

    09/11/2018, 4:17 AM
    Copy code
    curl '<https://api.graph.cool/simple/v1/SERVICE_ID/export>' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer TOKEN' \
    -d '{"fileType":"nodes","cursor": {"table":0,"row":0,"field":0,"array":0}}' \
    -sSv
  • m

    Mark

    09/11/2018, 4:18 AM
    would appreciate any insight or direction, thanks!
  • b

    Bunthon

    09/11/2018, 6:59 AM
    Hi everyone, i am a new of Prisma and i wonder what is the right way of implement pagination?
    c
    • 2
    • 2
  • b

    Bunthon

    09/11/2018, 7:01 AM
    I saw there is (first, skip) is this the manual way to implement it?
  • s

    Shahin Mohammady

    09/11/2018, 7:59 AM
    Hi everyone, i implemented a simple Prisma server. My subscriptions work very well with UPDATED and DELETED mutations, but it does not work with CREATED mutations! Can anyone help me? Thanks
    c
    • 2
    • 4
  • w

    wrdevos

    09/11/2018, 8:46 AM
    Hi, I'm wondering if I can use multiple databases with prisma server. The yaml says
    databases
    (plural), but all the examples I can find only use just one
    default
    database. Also, is it possible to use read replicas? How would I go about that? Happy to hear a few pointers so I can work it out and open a PR for some docs!
    d
    a
    • 3
    • 3
  • w

    wrdevos

    09/11/2018, 8:46 AM
    BTW I'm running the
    prisma-prod
    version
  • h

    halborg

    09/11/2018, 9:30 AM
    If anyone has any input to best practices for pagination of lists that are nested inside other objects/lists, I would be grateful for some sparring on this post: https://www.prisma.io/forum/t/adding-pagination-to-lists-on-objects/4354
  • n

    noahdavis

    09/11/2018, 11:01 AM
    Has anyone here using Now for graphql-yoga deployment experienced timeouts at 120s?
  • j

    jdoyle112

    09/11/2018, 1:09 PM
    Just curious what some people on here are using to host their prisma servers and what your request times look like? I'm deciding if I wanna switch off of graphcool. The responses are taking way too long.
    h
    l
    • 3
    • 10
  • w

    wrdevos

    09/11/2018, 2:34 PM
    I'm seeing a continuous stream of
    Copy code
    [WebsocketSession] Received unknown message: TextMessage.Streamed(Source(SourceShape(Collect.out...
  • w

    wrdevos

    09/11/2018, 2:35 PM
    Anyone else having that problem? Our frontends use React-Apollo
  • b

    Bruno Prela

    09/11/2018, 2:58 PM
    Hello, I was wondering if it is possible to run
    Copy code
    prisma deploy
    to an already existing schema in a PostgreSQL database
  • b

    Bruno Prela

    09/11/2018, 2:59 PM
    for example, I would like my endpoint
    Copy code
    <http://localhost:4466/service/schema1>
    to deploy to a schema named
    Copy code
    public
  • w

    wrdevos

    09/11/2018, 3:01 PM
    You'll have to put
    schema: public
    in your PRISMA_CONFIG.databases.default
  • w

    wrdevos

    09/11/2018, 3:01 PM
    then run
    prisma introspect
    to dump a schema based on the existing database
  • w

    wrdevos

    09/11/2018, 3:02 PM
    If you want to turn off migrations, your can add
    migrations: false
    to PRISMA_CONFIG.databases.default as well
  • b

    Bruno Prela

    09/11/2018, 3:03 PM
    lets assume my schema is empty, i just want to be able to control the name of the schema created by a prisma deploy
  • b

    Bruno Prela

    09/11/2018, 3:04 PM
    while still being able to use prisma’s deployment feature to setup my tables for a schema
  • w

    wrdevos

    09/11/2018, 3:07 PM
    i just want to be able to control the name of the schema created by a prisma deploy
    Yeah that would be a great feature 🙂
  • w

    wrdevos

    09/11/2018, 3:08 PM
    That way each (micro) service could have their own schema
  • b

    Bruno Prela

    09/11/2018, 3:16 PM
    im doing it per-tenant, but yeah something like that. I think I may just deploy, rename and destroy deployment, and then redeploy with schema:public and migrations:false
  • b

    Bruno Prela

    09/11/2018, 3:16 PM
    I will not be using prisma for db versioning anyway, but would still like to use it for the initial deployment
  • p

    peter

    09/11/2018, 3:39 PM
    is there a solution for getting heroku working properly?
  • p

    peter

    09/11/2018, 3:39 PM
    - https://github.com/prisma/prisma-cloud-feedback/issues/193 - https://github.com/prisma/prisma-cloud-feedback/issues/172
  • b

    brikou

    09/11/2018, 4:49 PM
    Hi there!
  • a

    alec

    09/11/2018, 4:53 PM
    Does anyone have any wisdom / knowledge on the graphcool framework's ability to scale as your app grows?
  • b

    Bruno Prela

    09/11/2018, 4:54 PM
    Last question, I just updated from 1.9 to 1.16 and now get the following error:
    Copy code
    The scalar field `slides` has the wrong format: `[String!]!` Possible Formats: `String`, `String!`
1...115116117...637Latest