- Issue created by @Lukas von Blarer
- 🇨ðŸ‡Switzerland Lukas von Blarer
I took a look at this. I think it is almost done, but somehow there is something missing. I get this error when visiting the explorer:
GraphQL\Error\Error: Type "WebformElementWebformFieldset" not found in document. in GraphQL\Utils\BuildSchema::GraphQL\Utils\{closure}() (line 149 of /app/vendor/webonyx/graphql-php/src/Utils/BuildSchema.php). GraphQL\Utils\ASTDefinitionBuilder->internalBuildType() (Line: 190) GraphQL\Utils\ASTDefinitionBuilder->buildType() (Line: 193) GraphQL\Utils\BuildSchema::GraphQL\Utils\{closure}() (Line: 350) GraphQL\Type\Schema->loadType() (Line: 326) GraphQL\Type\Schema->getType() (Line: 548) GraphQL\Utils\SchemaExtender::extend() (Line: 356) Drupal\graphql_core_schema\Plugin\GraphQL\Schema\CoreComposableSchema->getFullSchemaDocumentOverride() (Line: 314) Drupal\graphql_core_schema\Plugin\GraphQL\Schema\CoreComposableSchema->getSchema() (Line: 253) Drupal\graphql\Entity\Server->configuration() (Line: 199) Drupal\graphql\Entity\Server->executeOperation() (Line: 27) Drupal\graphql\GraphQL\Utility\Introspection->introspect() (Line: 87) Drupal\graphql\Controller\ExplorerController->viewExplorer() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704) Drupal\Core\DrupalKernel->handle() (Line: 19)
- Status changed to Needs work
8 months ago 9:20am 28 May 2024 - Status changed to Needs review
8 months ago 9:33am 28 May 2024 - 🇨ðŸ‡Switzerland Lukas von Blarer
Ok, found the issue. I chose the wrong name in the schema.
The fieldsets are being exposed properly for me.
- First commit to issue fork.
- 🇧🇬Bulgaria pfrenssen Sofia
Thanks a lot for this. I updated the MR to account for the removal of the
metadata
subfield (ref. ✨ Remove Metadata subfields Fixed ) and fixed the test coverage. -
pfrenssen →
committed 8959529d on 2.x authored by
luksak →
Issue #3450299 by luksak, pfrenssen: Expose fieldsets
-
pfrenssen →
committed 8959529d on 2.x authored by
luksak →
- Status changed to Fixed
4 months ago 2:58pm 18 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.