진양철
PPrisma
•Created by 진양철 on 2/19/2025 in #help-and-questions
as type error
My temporary workaround was to abandon no await return. I used await return and excluded the Promise type and it worked, but I'd like to use no await return because I'd like to wait on the calling side of the function for performance reasons.
6 replies
PPrisma
•Created by 진양철 on 2/19/2025 in #help-and-questions
as type error
hi
I'm organizing a class that can be controlled on a per-model basis.
When I run a function that encapsulates a prisma externally, I expect the type to be inferred based on the external options.
If it is not associated with another model, as above, no error will occur.
However, if you connect with a different model, you get the same error.
6 replies