Gregor Becker

Results 75 comments of Gregor Becker

@salcedo If you haven't done it already you can make a `BaseModel` and extend from it so every model has this logic: ````ts import { BelongsTo, Model } from 'pinia-orm'...

Really? in my unit tests it worked, but maybe you have a differnet approach of data saving. what about trying `updated` hook and saving the data with `useRepo` again? Update:...

Should be working now with the new release v1.1.0 😉 ````ts import { BelongsTo, Model } from 'pinia-orm' export class BaseModel extends Model { static updating (model, record) { const...

You are absoluty right. The classes weren't exported. So this couldn't work ^^. But at least now it does 💯

Would you provide a [reproduction](https://v3.nuxtjs.org/community/reporting-bugs/#create-a-minimal-reproduction)? 🙏

@DreadIsBack i installed it locally and it works. I cant reproduce the bug. Have your tried a fresh install ? `rm -rf node_modules package-lock.json .output .nuxt` Tested with node v17.8

I can try to add the keyword `like` to where clause. But i don't think i add a helper for it because i am orientanting on laravel syntax. And laravel...

Hey @vesper8 , thanks for the input. You are abosultly right. I rushed a bit the axios documentation because i wanted to release it. I am going to update it...

@vesper8 Help is on the way. I try to start 1.8.0 which address this. It's a think which i already started months ago: #790 ... in that PR insert also...

You are right. Trying to reproduce it and making a fix.