EAV values empty #30
Comments
OMG! I created a new project and as always it was working fine, but it never did with yours, it drove me crazy and consumed few hours until I figured you're using custom primary key for your model which I didn't notice before, and that made sense then!! Thank god it's now solved with one tiny simple change 17b0431
|
@Omranic Sorry, but I need to bother you again and the issue is still not fixed. The method
You should change I added a pull request. |
My bad! 😅 |
* release/v0.0.4: (56 commits) Update changelog Drop Laravel 5.5 support Update composer packages Update composer packages Apply fixes from StyleCI Check if attribute_entity database table exists before querying entity attributes Return eloquent collection always from getEntityAttributes method for compatibility Add force option to artisan commands Simplify IoC binding Update minimum required PHP version Add Laravel v5.6 support Sort attributes on retrieval Drop useless model contracts (models already swappable through IoC) Typehint method returns Typehint void method returns Fixed #30 Fix entity custom primary id issue (fix #30, #26) Fix documentation code smaple Remove fillable relation rules Fix entities issue and tweak some features ...
Soo @Omranic.
I followed your steps and created a new laravel project and I am still unable to get the data.
Here is the link to the repo:
https://github.com/psychonetic/laravel-attributes
Just migrate the database, run php artisan serve and hit the following url:
localhost:8000/api/articles.
A size attribute is created, after an article and also applied the size to the article and finally I try to get the result. But as already discussed in #26 the size is always null.
Best regards,
Marco
The text was updated successfully, but these errors were encountered: