nova-flexible-content icon indicating copy to clipboard operation
nova-flexible-content copied to clipboard

Allow casts to return a layout collection within Nova endpoints

Open adrienleloup opened this issue 6 years ago • 0 comments

In regards to the discussion in issue #169, it seems that it could be beneficial to allow casting to a Layout Collection within Nova endpoints to facilitate usage with Laravel Scout.

This is currently possible but not easily done, as the casting has a check that always returns the raw value when within Nova, thus requiring a workaround.

Discussion regarding a possible solution to this is encouraged!

Thanks

adrienleloup avatar Apr 30 '20 21:04 adrienleloup