@vpodorozh Hmm. Not sure if I'm getting the problem, since this looks trivial. Done that with a custom module like `app/code/ns/PageBuilderSetup/view/adminhtml/pagebuilder/content_type/elements.xml`
and i.e.
<type name="heading">
<is_system>false</is_system>
</type>
in it.
@MarkShust Cool. Unfortunately the big advantage of collections being in unloaded state is not possible this way. Filtering, paging for example is not possible. :(
@MarkShust I see Rico's point. But processing an expected return array value, which could also return null is a valid. So
($object->getChildren() ?? [] as $child)
makes sense in my eyes.
@LBajsarowicz Never seen something like this. I've done it once vice versa. This should be quite helpful for you implementing it: https://t.co/U1mDnHJUdD
@MarkShust Unfortunately found no way to configure this on a exclusive content type's basis. Needed a new Config Provider (at least a generic one that merges content type's XML config). Thoughts?
@ShawnFAbramson@MarkShust Love is a strong word. But I like its potential as well. But surely one has to invest. Rather alot then a little I would say. Happy to see others cope with it beside all the bashing.
@MarkShust To me you can get at least a hint for the answer if you ask the same for REST endpoints in modules. As always: the good ones do, most of them don't.
Maybe it will be better since implementing gql endpoints is very easy.