You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the content of an array field from the graphql api, but it fails.
How to Reproduce
Create a blueprint with an array field (keyed or dynamic)
Creat an entry
Try to fetch that entry
Extra Detail
the query:
{
test: entries(collection: "test_collection", limit: 1) {
data {
id
slug
title
locale
origin
... on Entry_TestCollection_TestCollection {
test
}
}
}
}
"test" is a dynamic array field.
the error:
"errors": [
{
"debugMessage": "Expected a value of type \"String\" but received: {\"hello\":\"test\"}",
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 10,
"column": 9
}
],
"path": [
"test",
"data",
0,
"test"
],
"trace": [
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 786,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeLeafValue(GraphQLType: String, array(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 654,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValue(GraphQLType: String, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(4), array(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 557,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValueCatchingError(GraphQLType: String, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(4), array(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 1195,
"call": "GraphQL\\Executor\\ReferenceExecutor::resolveField(GraphQLType: Entry_TestCollection_TestCollection, instance of App\\CustomEntry, instance of ArrayObject(1), array(4))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 1145,
"call": "GraphQL\\Executor\\ReferenceExecutor::executeFields(GraphQLType: Entry_TestCollection_TestCollection, instance of App\\CustomEntry, array(3), instance of ArrayObject(6))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 1106,
"call": "GraphQL\\Executor\\ReferenceExecutor::collectAndExecuteSubfields(GraphQLType: Entry_TestCollection_TestCollection, instance of ArrayObject(1), array(3), instance of App\\CustomEntry)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 974,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeObjectValue(GraphQLType: Entry_TestCollection_TestCollection, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(3), instance of App\\CustomEntry)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 789,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeAbstractValue(GraphQLType: EntryInterface, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(3), instance of App\\CustomEntry)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 654,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValue(GraphQLType: EntryInterface, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(3), instance of App\\CustomEntry)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 887,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValueCatchingError(GraphQLType: EntryInterface, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(3), instance of App\\CustomEntry)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 761,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeListValue(GraphQLType: EntryInterface, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(2), instance of Statamic\\Entries\\EntryCollection(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 654,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValue(GraphQLType: EntryInterface, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(2), instance of Statamic\\Entries\\EntryCollection(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 557,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValueCatchingError(GraphQLType: EntryInterface, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(2), instance of Statamic\\Entries\\EntryCollection(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 1195,
"call": "GraphQL\\Executor\\ReferenceExecutor::resolveField(GraphQLType: EntryInterfacePagination, instance of Statamic\\Extensions\\Pagination\\LengthAwarePaginator(1), instance of ArrayObject(1), array(2))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 1145,
"call": "GraphQL\\Executor\\ReferenceExecutor::executeFields(GraphQLType: EntryInterfacePagination, instance of Statamic\\Extensions\\Pagination\\LengthAwarePaginator(1), array(1), instance of ArrayObject(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 1106,
"call": "GraphQL\\Executor\\ReferenceExecutor::collectAndExecuteSubfields(GraphQLType: EntryInterfacePagination, instance of ArrayObject(1), array(1), instance of Statamic\\Extensions\\Pagination\\LengthAwarePaginator(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 793,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeObjectValue(GraphQLType: EntryInterfacePagination, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(1), instance of Statamic\\Extensions\\Pagination\\LengthAwarePaginator(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 654,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValue(GraphQLType: EntryInterfacePagination, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(1), instance of Statamic\\Extensions\\Pagination\\LengthAwarePaginator(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 557,
"call": "GraphQL\\Executor\\ReferenceExecutor::completeValueCatchingError(GraphQLType: EntryInterfacePagination, instance of ArrayObject(1), instance of GraphQL\\Type\\Definition\\ResolveInfo, array(1), instance of Statamic\\Extensions\\Pagination\\LengthAwarePaginator(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 1195,
"call": "GraphQL\\Executor\\ReferenceExecutor::resolveField(GraphQLType: Query, null, instance of ArrayObject(1), array(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 264,
"call": "GraphQL\\Executor\\ReferenceExecutor::executeFields(GraphQLType: Query, null, array(0), instance of ArrayObject(1))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
"line": 215,
"call": "GraphQL\\Executor\\ReferenceExecutor::executeOperation(instance of GraphQL\\Language\\AST\\OperationDefinitionNode, null)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/Executor/Executor.php",
"line": 156,
"call": "GraphQL\\Executor\\ReferenceExecutor::doExecute()"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/GraphQL.php",
"line": 162,
"call": "GraphQL\\Executor\\Executor::promiseToExecute(instance of GraphQL\\Executor\\Promise\\Adapter\\SyncPromiseAdapter, instance of GraphQL\\Type\\Schema, instance of GraphQL\\Language\\AST\\DocumentNode, null, null, null, null, null)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/webonyx/graphql-php/src/GraphQL.php",
"line": 94,
"call": "GraphQL\\GraphQL::promiseToExecute(instance of GraphQL\\Executor\\Promise\\Adapter\\SyncPromiseAdapter, instance of GraphQL\\Type\\Schema, '{\n test: entries(collection: \"test_collection\", limit: 1) {\n data {\n id\n slug\n title\n locale\n origin\n ... on Entry_TestCollection_TestCollection {\n test \n }\n }\n }\n}', null, null, null, null, null, null)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/rebing/graphql-laravel/src/GraphQL.php",
"line": 142,
"call": "GraphQL\\GraphQL::executeQuery(instance of GraphQL\\Type\\Schema, '{\n test: entries(collection: \"test_collection\", limit: 1) {\n data {\n id\n slug\n title\n locale\n origin\n ... on Entry_TestCollection_TestCollection {\n test \n }\n }\n }\n}', null, null, null, null, null)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/rebing/graphql-laravel/src/GraphQL.php",
"line": 120,
"call": "Rebing\\GraphQL\\GraphQL::queryAndReturnResult('{\n test: entries(collection: \"test_collection\", limit: 1) {\n data {\n id\n slug\n title\n locale\n origin\n ... on Entry_TestCollection_TestCollection {\n test \n }\n }\n }\n}', null, array(3))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/rebing/graphql-laravel/src/GraphQLController.php",
"line": 73,
"call": "Rebing\\GraphQL\\GraphQL::query('{\n test: entries(collection: \"test_collection\", limit: 1) {\n data {\n id\n slug\n title\n locale\n origin\n ... on Entry_TestCollection_TestCollection {\n test \n }\n }\n }\n}', null, array(3))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/rebing/graphql-laravel/src/GraphQLController.php",
"line": 48,
"call": "Rebing\\GraphQL\\GraphQLController::executeQuery('default', array(2))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
"line": 54,
"call": "Rebing\\GraphQL\\GraphQLController::query(instance of Illuminate\\Http\\Request, 'default')"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
"line": 45,
"call": "Illuminate\\Routing\\Controller::callAction('query', array(2))"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 239,
"call": "Illuminate\\Routing\\ControllerDispatcher::dispatch(instance of Illuminate\\Routing\\Route, instance of Rebing\\GraphQL\\GraphQLController, 'query')"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 196,
"call": "Illuminate\\Routing\\Route::runController()"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 685,
"call": "Illuminate\\Routing\\Route::run()"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 128,
"call": "Illuminate\\Routing\\Router::Illuminate\\Routing\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/statamic/cms/src/GraphQL/Middleware/CacheResponse.php",
"line": 18,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Statamic\\GraphQL\\Middleware\\CacheResponse::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/statamic/cms/src/Http/Middleware/RequireStatamicPro.php",
"line": 17,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Statamic\\Http\\Middleware\\RequireStatamicPro::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/statamic/cms/src/Http/Middleware/SwapExceptionHandler.php",
"line": 19,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Statamic\\Http\\Middleware\\SwapExceptionHandler::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 103,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 687,
"call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 662,
"call": "Illuminate\\Routing\\Router::runRouteWithinStack(instance of Illuminate\\Routing\\Route, instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 628,
"call": "Illuminate\\Routing\\Router::runRoute(instance of Illuminate\\Http\\Request, instance of Illuminate\\Routing\\Route)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 617,
"call": "Illuminate\\Routing\\Router::dispatchToRoute(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 165,
"call": "Illuminate\\Routing\\Router::dispatch(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 128,
"call": "Illuminate\\Foundation\\Http\\Kernel::Illuminate\\Foundation\\Http\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/statamic/cms/src/Http/Middleware/DisableFloc.php",
"line": 18,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Statamic\\Http\\Middleware\\DisableFloc::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/statamic/cms/src/Http/Middleware/CheckMultisite.php",
"line": 14,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Statamic\\Http\\Middleware\\CheckMultisite::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/statamic/cms/src/Http/Middleware/CheckComposerJsonScripts.php",
"line": 14,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Statamic\\Http\\Middleware\\CheckComposerJsonScripts::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/statamic/cms/src/Http/Middleware/PoweredByHeader.php",
"line": 19,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Statamic\\Http\\Middleware\\PoweredByHeader::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php",
"line": 60,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Barryvdh\\Debugbar\\Middleware\\InjectDebugbar::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
"line": 27,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
"line": 63,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/fruitcake/laravel-cors/src/HandleCors.php",
"line": 37,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Fruitcake\\Cors\\HandleCors::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/fideloper/proxy/src/TrustProxies.php",
"line": 57,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 167,
"call": "Fideloper\\Proxy\\TrustProxies::handle(instance of Illuminate\\Http\\Request, instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 103,
"call": "Illuminate\\Pipeline\\Pipeline::Illuminate\\Pipeline\\{closure}(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 140,
"call": "Illuminate\\Pipeline\\Pipeline::then(instance of Closure)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 109,
"call": "Illuminate\\Foundation\\Http\\Kernel::sendRequestThroughRouter(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/public/index.php",
"line": 55,
"call": "Illuminate\\Foundation\\Http\\Kernel::handle(instance of Illuminate\\Http\\Request)"
},
{
"file": "/Users/marcus/.composer/vendor/laravel/valet/server.php",
"line": 219,
"function": "require('/Users/marcus/projekte/arbeit/meso/drm/statamic-v3/public/index.php')"
}
]
}
],
Environment
Statamic 3.1.27 Pro
Laravel 7.30.4
PHP 8.0.7
No addons installed
Install method (choose one):
Fresh install from statamic/statamic
The text was updated successfully, but these errors were encountered:
....no real experience in graphql from my side but: wouldn't it be possible to return the data as a json? I mean the data I want is literally in the error message, it is just interpreting the type wrong
Bug Description
I am trying to get the content of an array field from the graphql api, but it fails.
How to Reproduce
Extra Detail
the query:
"test" is a dynamic array field.
the error:
Environment
Statamic 3.1.27 Pro
Laravel 7.30.4
PHP 8.0.7
No addons installed
Install method (choose one):
statamic/statamic
The text was updated successfully, but these errors were encountered: