Closed blazeyo closed 6 years ago
Full error:
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException</em>: in <em class="placeholder">Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilder->findByName()</em> (line <em class="placeholder">122</em> of <em class="placeholder">modules/graphql/src/Plugin/GraphQL/PluggableSchemaBuilder.php</em>). <pre class="backtrace">Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase->buildArgumentType(Object, Array) (Line: 34) Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase->buildArguments(Object) (Line: 45) Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase->getDefinition(Object) (Line: 94) Drupal\graphql\Plugin\GraphQL\Schemas\SchemaPluginBase->Drupal\graphql\Plugin\GraphQL\Schemas\{closure}(Object) array_map(Object, Array) (Line: 95) Drupal\graphql\Plugin\GraphQL\Schemas\SchemaPluginBase->extractDefinitions(Array) (Line: 72) Drupal\graphql\Plugin\GraphQL\Schemas\SchemaPluginBase->getSchema() (Line: 139) Drupal\graphql\GraphQL\Schema\SchemaLoader->getSchema('default') (Line: 86) Drupal\graphql\GraphQL\Execution\QueryProcessor->processQuery('default', ' query IntrospectionQuery { __schema { queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name description locations args { ...InputValue } } } } fragment FullType on __Type { kind name description fields(includeDeprecated: true) { name description args { ...InputValue } type { ...TypeRef } isDeprecated deprecationReason } inputFields { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: true) { name description isDeprecated deprecationReason } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name description type { ...TypeRef } defaultValue } fragment TypeRef on __Type { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name } } } } } } } }') (Line: 131) Drupal\graphql\GraphQL\Utility\Introspection->introspect('default') (Line: 77) Drupal\graphql\Controller\ExplorerController->viewExplorer('default') call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 576) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() call_user_func_array(Object, Array) (Line: 153) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 657) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) </pre>
This one works: working-example-views.view.user_articles.yml.txt
This one breaks the explorer: views.view.user_articles.yml.txt
Actually adding any exposed filter breaks the explorer. Fix in PR #5
Full error:
This one works: working-example-views.view.user_articles.yml.txt
This one breaks the explorer: views.view.user_articles.yml.txt