-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Serialization over a data generated by prisma #2415
Comments
|
Hello I have update my project to the latest version and now I have an other issue it seams that the repositories are not instantiate and thus its impossible to call them. "TypeError: Cannot read properties of undefined (reading 'findMany')\n" + |
@victorsmits are you sure you have updated all dependencies correctly? Because I haven’t deployed fix on prisma. |
I suggest you to create repository to reproduce the issue. Also can bump your packages progressively to find the version responsible to your issue. |
All works for me: DB start and serialization works. But I haven't tested your specific use case. I'll try to create the same case. |
Note: Problem around the prisma schema when the table name is on snake case format |
I encountered the same problem when dealing with models in snake_case. In my case, I was able to resolve the issue by using the
This approach allowed me to keep the snake_case table name while using a camelCase model name. |
The response serialization is not working when you get data through the generated prisma repository but work as expected when you pass by the prisma service
Information
A few sentences describing the overall goals of the issue.
Example with prisma repository
response
Example with prisma service
response
The text was updated successfully, but these errors were encountered: