It would be very useful if ACF relationships returned the model as set in Corcel\Post::$postTypes. I wrote a very implementation that does that in this PR. Not ready for merge though, I have two remaining corncerns:
This runs an additional query for every post that should be downcasted. Is there a way we could get around this?
This requires Corcel\Post::$postTypes to be made public.
It would be very useful if ACF relationships returned the model as set in Corcel\Post::$postTypes. I wrote a very implementation that does that in this PR. Not ready for merge though, I have two remaining corncerns: