Configurar el plugin
Configurar el pluginResolver CustomPostUnion a un tipo único

Resolver CustomPostUnion a un tipo único

Si sólo hay un tipo añadido a CustomPostUnion (p. ej.: sólo Post), podemos hacer que los campos que se resuelven a CustomPostUnion se resuelvan a ese tipo único en su lugar.

Para ello, ve a la página de Ajustes de Schema Custom Posts y haz clic en la opción "Use single type instead of union type?":

Ajustes para Custom Posts
Ajustes para Custom Posts

Por ejemplo, si Post es el único tipo, el campo customPosts del tipo Root se resuelve directamente a él:

El campo customPosts se resuelve al tipo Post