Disable dehydrated by default on custom field
Is there a way to disable a field property, in this case dehydrated, by default?

Solution:Jump to solution
In your MapJSON class, as long as it’s extending Field you can use the
setUp()
method to apply $this->dehydrated(false)
or you can do it in a service provider globally if the field is in a plug-in.2 Replies