Yetzederixx
Yetzederixx
PPrisma
Created by orionvala on 12/16/2024 in #help-and-questions
Issues with shared library libssl.so.1.1
I'm using this in a project and it works fine, so far, haven't had to rebuild in a bit
FROM node:bullseye-slim
FROM node:bullseye-slim
12 replies
PPrisma
Created by Luna.py on 12/10/2024 in #help-and-questions
Issue with prisma
is the table actually in the database? eg did your migration apply
13 replies
PPrisma
Created by beanbeanjuice on 12/10/2024 in #help-and-questions
Previously Working Dockerfile No Longer Works
I have had zero problems on node slim
13 replies
PPrisma
Created by beanbeanjuice on 12/10/2024 in #help-and-questions
Previously Working Dockerfile No Longer Works
if you look in #chat you aren't the only one. This appears to be an alpine problem
13 replies
PPrisma
Created by beanbeanjuice on 12/10/2024 in #help-and-questions
Previously Working Dockerfile No Longer Works
Mind you I'm using debian as my base, but I had to do this with my binary targets, I doubt this is actually going to help now that I have it typed out but you never know binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x", "linux-musl", "linux-musl-openssl-3.0.x"] Debian stable FROM node:bullseye-slim
13 replies
PPrisma
Created by Noah on 12/9/2024 in #help-and-questions
Retrieve user information
that sounds like a framework (express or whatever) issue moreso than prisma
6 replies
PPrisma
Created by Noah on 12/9/2024 in #help-and-questions
Retrieve user information
any error messages?
6 replies
PPrisma
Created by Spiivak on 12/7/2024 in #help-and-questions
AWS Connection
I don't think this is a prisma problem. that said your second url is http and not https and seems to be the issue imo
12 replies
PPrisma
Created by Mathias on 11/19/2024 in #help-and-questions
Concurrent request (Prisma)
While not fool proof, nothing is fool or Sailor proof, disabling the submit button until the request finishes nixes a bunch of these
8 replies
PPrisma
Created by Dario on 11/11/2024 in #help-and-questions
Issues with raw queries (was working) - Postgres
I know it'd be annoying to have a folder, and query, just for a select 1 statement... but it may be worth a shot
4 replies
PPrisma
Created by Dario on 11/11/2024 in #help-and-questions
Issues with raw queries (was working) - Postgres
I had issues with raw queries a while back, ended up switching to this instead https://www.prisma.io/docs/orm/prisma-client/using-raw-sql/typedsql I don't know if it'll solve your problem, but it did mine
4 replies
PPrisma
Created by CatNoir on 11/6/2024 in #help-and-questions
Psql Timeout connecting a new connection from collection pool
You may need to setup some kind of message broker, or something, to broadcast like that in a way that's respectful to your database heh, glad bouncer worked though.
9 replies
PPrisma
Created by CatNoir on 11/6/2024 in #help-and-questions
Psql Timeout connecting a new connection from collection pool
I'd imagine this can't help things out any. I know some chat apps seem to load like the last N messages and essentially enable "infinite scrolling" (aka paging) to get stuff in smaller chunks as the user scrolls
9 replies
PPrisma
Created by Alaskan donut on 11/3/2024 in #help-and-questions
TypedSQL: Passing null values into raw SQL?
it seems like userId isn't actually set to null prior to passing in, give it some initialization to null and see if that helps
3 replies
PPrisma
Created by loobydooby on 11/1/2024 in #help-and-questions
Filter relationship by value in parent
try someId: someValue?
6 replies
PPrisma
Created by jsoneaday on 10/31/2024 in #help-and-questions
Why is omit not available for this query?
That's a good question, do you have a specific error message you can share?
8 replies
PPrisma
Created by TheBwoyProgrammer on 10/30/2024 in #help-and-questions
Need Help with CRUD operations
You usually don't want to go ham encoding like a meg of stuff in a jwt, but in my last project I did encode the main parent objects id's as an array to make lookups and RBAC checks easier.
6 replies
PPrisma
Created by TheBwoyProgrammer on 10/30/2024 in #help-and-questions
Need Help with CRUD operations
Which user, the one making the request or the id of the record you are trying to modify? I'm guessing the former, but you never know. If it's the former that users id is often encoded into a jwt. You can encode other things in there, but the tl;dr of it is, is that if it is you can devise some permissions. eg, a user has a relation to some parent object like a company, that company has assets, therefor you check if the user has access to the parent of the record in question, and if so allow them to do stuff, if not, return a 403 is how I usually do it
6 replies
PPrisma
Created by Tomathy on 10/23/2024 in #help-and-questions
SSL connection to supabase
have you tried using the psql command line tool?
18 replies
PPrisma
Created by Tomathy on 10/23/2024 in #help-and-questions
SSL connection to supabase
The paranoid will have a pg user/password, ssl cert with password, which is fine, but not used a lot in my experience. Frankly if someone can get the cert, they've breached enough of your system that you have to assume everything is compromised anyway. So there's more to be gained shoring up security elsewhere I guess.
18 replies