menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team
Posts
Members
Info

Using an Int as @id is not working with MongoDB

Hey guys, when trying to use an Int as @id, I get an error message, saying @id it is only allowed for "ID", not for Int. However, it should work as stated in the docs: …

thumbsup
0
message-simple
1

I want to create a prisma cloud server with heorku but its not working?

it gives me an error (HTTP code 404) unexpected - manifest for prismagraphql/Prisma:1.34.9-gatsby-heroku not found. Note few days back it's working properly but not now anyone has an idea about it?

thumbsup
0
message-simple
0

Advice on production profiling

Hey all, I've deployed a container on AWS fargate and a graphql server using Apex Up. I have some pretty simple mutations that take around 600ms - 1.5s to run, which is a bit unacceptable for the use case. When I run it locally, it runs almost instantly. All my AWS stuff is…

thumbsup
0
message-simple
0

ERROR: No cluster could be found for workspace '*' and cluster 'default'

I keep getting an error when I try to do prisma deploy I tried restarting my computer, restarting docker, using a whole new database, using a new directory, and everything else. Nothing seems to be working. ERROR: No cluster could be found for workspace '*' and cluster 'default'…

thumbsup
0
message-simple
4

Expose prisma schema in Apollo federation

We currently expose our prisma schema directly to our clients. Has anyone figured out how to expose their prisma schema in a federated graph? I run into errors with the buildFederatedGraph() function. Or, is it possible to use buildFederatedSchema() on a schema that has been…

thumbsup
0
message-simple
0

Upgrading to 1.34.1 - The Migration failed and has not been performed

I've attempted to upgrade from 1.26 to 1.34.1 for the past few hours and I've had no luck, I'm hoping someone here will be able to point me in the right direction. I've went through the following steps: 1. Updated docker-compose.yml to use image: prismagraphql/prisma:1.34.1 …

thumbsup
0
message-simple
4

Prisma Client Bug: Int variable in where clause is treated as string by prisma

"gln" was defined as Int. When I use a number in the where clause of the prisma mutation, prisma seems to treat it as a string and throws an error: [ExceptionsHandler] Variable '$where' expected value of type 'EntityWhereUniqueInput!' but got: {"gln":"12"}. Reason: 'gln' Int…

thumbsup
0
message-simple
0

datamodel.prisma file has errors and I never touched the code.

Why is my datamodel.prisma file have errors in it??? It says I am not allowed to sue semi colons ( : ) I do not have to include the ( ! ) for required fields because all fields are required by default and that I have to indicate my model declaration with the model keyword...

thumbsup
0
message-simple
2

Prisma is not accessible outside the server

I have a vps which run prisma docker container. so I want to expose this docker to use outside vps. It successfully display play ground but when i query some thing It just produce an error

thumbsup
0
message-simple
0

Prisma deploy

Hi everyone I have this in my prisma.yml • graphql get-schema -p prisma But when I run prisma deploy I getting this error: spawnSync graphql ENOENT …

thumbsup
0
message-simple
0