Replies: 1 comment 1 reply
-
A fully typed Payload instance would be great, it seems like a solution similar to how Prisma solves a similar problem could be beneficial. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's the best way to get a typed payload instance?
In the live video's I see import from
../payload
, but that fule is never shown and I can't find it in any of the example repos.In my own project I'm currently exporting it from a central file typed as
BasePayload<Config>
, butBasePayload
is not officially exposed from the package, so it feels a bit wrong.Beta Was this translation helpful? Give feedback.
All reactions