-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Error: [Pinia ORM] The record is missing the primary key. #1610
Comments
@martinszeltins Thanks for the report. Don't know yet why this error happans. Update: |
@martinszeltins Ok after some investigating i found a workaround for nuxt 3.7.1 . You can look there: nuxt/nuxt#23038 (comment) |
Still have this issue with a Many to Many relationship, no matter what i'm doing with vite and nuxt versions. |
Just an FYI: It's also not solved by using Nuxt |
Yeah i didn't try it since i had other problems with this new version, but thanks for testing it. |
Did someone figure something out by any chance ? |
Nuxt |
Hey fellas! So I got this working with Nuxt 3.8.1 and Vite 5.0.0. Apparently it wasn't enough to add experimental decorators to my TS config, but add it to Nuxt config as well, like so:
Got this workaround from here: vitejs/vite#13736 |
Environment
Reproduction
https://github.com/martinszeltins/pinia-orm-new
Describe the bug
I am getting this error:
I have a very simple setup as you can tell from my reproduction repo. I just followed the docs.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: