ramonrietdijk / livewire-tables

Dynamic tables for models with Laravel Livewire
https://livewire-tables.ramonrietdijk.nl/
MIT License
195 stars 10 forks source link

Question: any plans to support other Eloquent Relations? #53

Closed Omranic closed 1 year ago

Omranic commented 1 year ago

Question: any plans to support other Eloquent Relations?

I'd love to help and support getting this implemented!

ramonrietdijk commented 1 year ago

Hi @Omranic,

Having support for more types of relationships would be ideal! In a perfect world, all eloquent relations would be supported, where possible. Currently, I believe using a computed column is the only way to achieve this at the moment. I have not yet needed the mentioned relationships myself, so I'm not sure when I can get around to it.

ramonrietdijk commented 1 year ago

Hi @Omranic,

Here I am again. I've changed quite a lot but it should now be possible to use any relation you like in the table.

This functionality, together with JSON support, have been released in version 3.9.0 :rocket:

Curious about your thoughts!