staudenmeir / eloquent-has-many-deep

Laravel Eloquent HasManyThrough relationships with unlimited levels
MIT License
2.67k stars 157 forks source link

Using Laravel v7 Nova - cannot get this to work #127

Closed elizdlt202 closed 3 years ago

elizdlt202 commented 3 years ago

I followed the doc for the model. But Not sure how to call it on the resource... Please help

elizdlt202 commented 3 years ago

Screen Shot 2021-06-03 at 2 34 41 PM

staudenmeir commented 3 years ago

I have no experience with Nova. Does the relationship itself work with something like AccountManager::find($id)->leadtasks?

ahinkle commented 3 years ago

Nova doesn’t support this. It already has a very limited support level on polymorphic and has many through relations.

This is a nova issue and not a package issue. I would recommend creating some sort of field package for nova support.

staudenmeir commented 3 years ago

Thanks @ahinkle!

dan-lutd commented 2 years ago

@ahinkle! I am coming at this from Nova as well. I was wondering what is preventing it from running with nova? What error were you getting?