faytecCD

Results 6 comments of faytecCD

@adelf Hello, I found that in **laravel-data**’s [ide.json](https://github.com/spatie/laravel-data/blob/main/ide.json#L50), there is a `codeGenerations` configuration option. It allows a flexible, configurable, and team-shared way to define code generation settings within a project....

@RC047 Yes, ChatGPT also told me that this is the reason: > `getIsMe` expects an object with an `id` property, but the object passed in does not have an `id`...

@RC047 I re-reviewed the implementation of `msg.getContact`. ```js getContact() { return this.client.getContactById(this.author || this.from); } ``` It looks quite similar to how I was calling it before. Then I continued...

After further log tracing, I confirmed that this issue is indeed caused by that reason. The logs show that the `author` field contains an abnormal value. Here is the log...

@N0N4M3BNS Yes. I’ve stopped using `msg.getContact()` in my code and switched to the approach shown in the example above. After running it for a while, the issue has not appeared...