Yeah the "magic" there is just making sure it's all done in SQL rather than a loop with 400 queries.
This was because the GraphQL scaffolder automatically does pagination, but the editor doesn't support pagination. It's a bit of a "quick fix" because pagination is obviously good for responsive UX, but it's being disabled here because it's much harder to solve the UX problems of editing pages of blocks.
Does it have the same class name as another block?
But you're completely ignoring the benefit of strong typing the GraphQL usually forces you to do
Elemental does some of this magic: https://github.com/dnadesign/silverstripe-elemental/blob/4/src/ORM/FieldType/DBObjectType.php https://github.com/dnadesign/silverstripe-elemental/blob/4/src/GraphQL/Types/ObjectType.php https://github.com/dnadesign/silverstripe-elemental/blob/4/src/Models/BaseElement.php#L79
You can do the ultimate hack - a custom "object type"
That's probably missing a namespace
Ah I've just spotted an issue: https://github.com/silverstripe/silverstripe-versioned-admin/issues/144
I'm currently experiencing Elemental blocks being displaying in multiple tabs (Blocks, Other).
My expectation would be that this would behave the same as pages since there is a tab defined explicitly for it. I've attached a screenshot of both views to show what I'm seeing.
Currently installed version of silverstripe-versioned-admin is 1.3.0.
If I can help with providing any more info please let me know.