nova-flexible-content
nova-flexible-content copied to clipboard
Allow casts to return a layout collection within Nova endpoints
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