You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I note that Drizzle is used when Postgres is the database in a Payload project. I'm pretty surprised at the lack of typesafety when making queries via the Payload client - there is no typesafety in the where clause of a find query for example. If Drizzle is indeed being used then somewhere there should be a fully typesafe Drizzle client - does Payload expose this anywhere?
I'm using Payload to build backend applications so it's kind of a deal breaker to have this basic level of typesafety.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I note that Drizzle is used when Postgres is the database in a Payload project. I'm pretty surprised at the lack of typesafety when making queries via the Payload client - there is no typesafety in the
where
clause of a find query for example. If Drizzle is indeed being used then somewhere there should be a fully typesafe Drizzle client - does Payload expose this anywhere?I'm using Payload to build backend applications so it's kind of a deal breaker to have this basic level of typesafety.
Beta Was this translation helpful? Give feedback.
All reactions