orchidsoftware / crud

Simplify the process of building CRUD (Create, Read, Update, Delete) functionality in Laravel using the features of Orchid.
https://orchid.software
MIT License
137 stars 34 forks source link

check for traits to report a helpful exception #53

Closed bilogic closed 3 years ago

bilogic commented 3 years ago

Continue from #43

Thanks.

tabuna commented 3 years ago

Hi, what was bad about my proposal? For dependency analysis, we didn't need to create an object.

https://github.com/orchidsoftware/crud/pull/43#issuecomment-884384860

bilogic commented 3 years ago

@tabuna I could not get it to work inside __construct(), static::$model keeps returning null and throws exception.

tabuna commented 3 years ago

Hi, I have updated this and there will be a release soon that will do hints.