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

    br

    10/03/2018, 8:02 AM
    Hi, how can I make the generated schema non-shit good? e.g. for a table
    users
    in my postgres db—`Users` in the datamodel—I get query fields like
    userses
    which doesn't return any of the data in the database 🙂
    d
    • 2
    • 2
  • m

    Max Hodges

    10/03/2018, 8:06 AM
    no one knows how to search? no docs?
  • m

    Max Hodges

    10/03/2018, 8:18 AM
  • m

    Max Hodges

    10/03/2018, 8:52 AM
    is prisma cloud SEARCH FOR broken for anyone else?
    c
    • 2
    • 4
  • m

    Max Hodges

    10/03/2018, 8:52 AM
    is finds absolutely nothing for me.
  • r

    Ricky

    10/03/2018, 9:54 AM
    Morning guys I'm really excited to start working with Prisma! I am currently slightly confused about how one would deploy a prisma service in a private endpoint so any tips would be really appreciated. The scenario is as follows: i followed the tutorial on Prisma's documentation and have set up a Prisma server in kubernetes (GKE) linked to a db (Google cloud sql). My understanding is that I also need a Prisma service in order for the "outside world" to be able to interact with the Prisma server. Using Prisma cli, one can deploy such service however this seems to imply the Prisma server's endpoint must be public. This is not the ideal situation for me here. This is because I plan to have the web application, graphql server (for auth0 authentication) and the Prisma server all reside in 1 single cluster. Therefore ideally I would like to deploy a service that allows graphql server to communicate with prisma server internally and not expose anything outside. Is this possible? If so how might one implement such deployment strategy? Many many thanks 🙂
  • j

    Jidé

    10/03/2018, 10:11 AM
    I’m a bit desperate regarding prisma right now... I’m totally lost with the docs, and under the impression that a lot of things are broken and undocumented 😞 Am I the only one ? I was not able to set up a graphql server set up like it was before prisma-client. Is there any step by step and up to date tutorial somewhere ?
    f
    s
    +3
    • 6
    • 13
  • j

    Jidé

    10/03/2018, 10:11 AM
    (I want to use prisma-binding)
  • j

    Jidé

    10/03/2018, 10:51 AM
    making progress, although there are still some known bugs on the path. I think I’ll write all this down in a medium post.
  • s

    sixtatami

    10/03/2018, 12:36 PM
    hi, when trying to pull from docker I get:
  • s

    sixtatami

    10/03/2018, 12:36 PM
    ➜ ~ docker pull prismagraphql/prisma Using default tag: latest Error response from daemon: manifest for prismagraphql/prisma:latest not found
    c
    • 2
    • 11
  • s

    sixtatami

    10/03/2018, 12:36 PM
    anything I am doing wrong here?
  • j

    Jidé

    10/03/2018, 2:00 PM
    Is there a way to set a field before insert/update op using a hook or something ?
    c
    • 2
    • 13
  • y

    yantakus

    10/03/2018, 5:41 PM
    Hi there. Can anyone help me with this: https://www.prisma.io/forum/t/prisma-playground-prisma-yml-should-not-have-additional-properties-additionalproperty-generate/4540/2 ?
  • m

    mateodelnorte

    10/03/2018, 9:02 PM
    has anyone been able to deploy prisma to a docker swarm? https://github.com/prisma/prisma/issues/3247
  • m

    mateodelnorte

    10/03/2018, 9:03 PM
    I’m seeing this over and over, along with postgres logs saying a db already exists… but it has no tables.
    Copy code
    denormalizer-api_prisma.1.51vybllscjd7@ip-172-31-21-171.ec2.internal    | Obtaining exclusive agent lock...
    denormalizer-api_prisma.1.51vybllscjd7@ip-172-31-21-171.ec2.internal    | Obtaining exclusive agent lock... Successful.
    denormalizer-api_prisma.1.51vybllscjd7@ip-172-31-21-171.ec2.internal    | Deployment worker initialization complete.
    denormalizer-api_prisma.1.51vybllscjd7@ip-172-31-21-171.ec2.internal    | Initializing workers...
    denormalizer-api_prisma.1.51vybllscjd7@ip-172-31-21-171.ec2.internal    | Successfully started 1 workers.
    denormalizer-api_prisma.1.51vybllscjd7@ip-172-31-21-171.ec2.internal    | Killed
    denormalizer-api_prisma.1.fo4rd2v3tmto@ip-172-31-21-171.ec2.internal    | Obtaining exclusive agent lock...
    denormalizer-api_prisma.1.fo4rd2v3tmto@ip-172-31-21-171.ec2.internal    | Obtaining exclusive agent lock... Successful.
    denormalizer-api_prisma.1.fo4rd2v3tmto@ip-172-31-21-171.ec2.internal    | Deployment worker initialization complete.
    denormalizer-api_prisma.1.fo4rd2v3tmto@ip-172-31-21-171.ec2.internal    | Killed
  • h

    hyvemynd

    10/03/2018, 9:57 PM
    Is anyone having problems deploying a brand new server using heroku through the prisma wizard on the website console? Every time I get to a point where prisma needs to talk to heroku, I get a JSON parsing error and the request hangs.
    n
    • 2
    • 2
  • m

    Marcus

    10/03/2018, 10:18 PM
    Is there anyway to force connect to "unlink" the existing connected ids when performing an update operation?
  • m

    Marcus

    10/03/2018, 10:19 PM
    lets say i send in [1,2,3] as foreign keys to be connected, the next request i send in the ids [2,5] and then I want [1,3] to be disconnected. Do I have to run a disconnect update first followed by a connect?
  • m

    Marcus

    10/03/2018, 10:19 PM
    Copy code
    data: {
                  products: {
                    connect: args.products // This is a list of foreign keys
                  }
                }
    c
    • 2
    • 2
  • m

    mateodelnorte

    10/03/2018, 11:29 PM
    Is there a way to increase log level of prisma?
    s
    • 2
    • 1
  • f

    Fran Dios

    10/04/2018, 9:05 AM
    Hi! Do Prisma CLI and Docker image versions need match always? Or can I update the CLI without deploying a newer image?
    👍 1
    d
    • 2
    • 2
  • v

    Vinnie

    10/04/2018, 9:07 AM
    Prisma guys: is your code that turns an SDL datamodel into a sql db schema opensource?
    n
    • 2
    • 1
  • m

    Max Hodges

    10/04/2018, 9:30 AM
    HI there seems to be a bug. The “search for” input does nothing in our prisma cloud. It’s not returning any docs from any of my collections. I wrote about it over 24 hours ago, but no reply yet. can you please fix this?
  • c

    catalinmiron

    10/04/2018, 9:41 AM
    @Max Hodges I replied to you. For me is working.
  • s

    shashank

    10/04/2018, 1:18 PM
    Can i serve entire database as service without writing new backend . Let's say I have react frontend and I want write graphQL queries using Apollo without writing a new node application and my own resolvers ?
    n
    j
    +2
    • 5
    • 5
  • s

    shashank

    10/04/2018, 1:42 PM
    How to use Prisma API's directly from frontend ?
    n
    a
    • 3
    • 2
  • l

    lifeoftomi

    10/04/2018, 4:23 PM
    I'm trying to import specific types from the generated Prisma schema into my custom schema. The issue is that the entire generated schema gets merged into the custom schema and shows up in the playground. Is there a way to exclude unused types that don't have resolvers?
  • f

    Fi1osof

    10/04/2018, 5:06 PM
    Hi all! Please, have a look my prisma CMS boilerplate: https://github.com/prisma-cms/boilerplate P.S. sorry for my english...
  • l

    lifeoftomi

    10/04/2018, 6:36 PM
    what's the use of the
    abstract
    classes
1...130131132...637Latest