Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple mutations always returns errors #9

Open
sereinity opened this issue Aug 23, 2022 · 0 comments
Open

multiple mutations always returns errors #9

sereinity opened this issue Aug 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sereinity
Copy link
Contributor

sereinity commented Aug 23, 2022

But the action were performed, here is a formated version of the typical response

{
  "errors": [
    {
      "debugMessage": "Argument 1 passed to App\\UserInterface\\GraphQL\\ResolverMap\\ResolverMap::App\\UserInterface\\GraphQL\\ResolverMap\\{closure}() must be an instance of App\\UserInterface\\GraphQL\\ResolverMap\\mixed, instance of App\\UserInterface\\GraphQL\\Map\\St
artServiceSuccessOutputDTO given, called in /app/vendor/webonyx/graphql-php/src/Type/Definition/UnionType.php on line 124",
      "message": "Internal server Error",
      "extensions": {
        "category": "internal"
      },
      "locations": [
        {
          "line": 3,
          "column": 7
        }
      ],
      "path": [
        "startService"
      ],
      "trace": [
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Type/Definition/UnionType.php",
          "line": 124,
          "call": "App\\UserInterface\\GraphQL\\ResolverMap\\ResolverMap::App\\UserInterface\\GraphQL\\ResolverMap\\{closure}()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 940,
          "call": "GraphQL\\Type\\Definition\\UnionType::resolveType()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 789,
          "call": "GraphQL\\Executor\\ReferenceExecutor::completeAbstractValue()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 741,
          "call": "GraphQL\\Executor\\ReferenceExecutor::completeValue()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 654,
          "call": "GraphQL\\Executor\\ReferenceExecutor::completeValue()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 557,
          "call": "GraphQL\\Executor\\ReferenceExecutor::completeValueCatchingError()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 474,
          "call": "GraphQL\\Executor\\ReferenceExecutor::resolveField()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 857,
          "call": "GraphQL\\Executor\\ReferenceExecutor::GraphQL\\Executor\\{closure}()"
        },
        {
          "call": "GraphQL\\Executor\\ReferenceExecutor::GraphQL\\Executor\\{closure}()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 859,
          "function": "array_reduce()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 490,
          "call": "GraphQL\\Executor\\ReferenceExecutor::promiseReduce()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 263,
          "call": "GraphQL\\Executor\\ReferenceExecutor::executeFieldsSerially()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php",
          "line": 215,
          "call": "GraphQL\\Executor\\ReferenceExecutor::executeOperation()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/Executor/Executor.php",
          "line": 156,
          "call": "GraphQL\\Executor\\ReferenceExecutor::doExecute()"
        },
        {
          "file": "/app/vendor/webonyx/graphql-php/src/GraphQL.php",
          "line": 162,
          "call": "GraphQL\\Executor\\Executor::promiseToExecute()"
        },
        {
          "file": "/app/vendor/overblog/graphql-bundle/src/Executor/Executor.php",
          "line": 43,
          "call": "GraphQL\\GraphQL::promiseToExecute()"
        },
        {
          "file": "/app/vendor/overblog/graphql-bundle/src/Request/Executor.php",
          "line": 165,
          "call": "Overblog\\GraphQLBundle\\Executor\\Executor::execute()"
        },
        {
          "file": "/app/vendor/overblog/graphql-bundle/src/Controller/GraphController.php",
          "line": 116,
          "call": "Overblog\\GraphQLBundle\\Request\\Executor::execute()"
        },
        {
          "file": "/app/vendor/overblog/graphql-bundle/src/Controller/GraphController.php",
          "line": 88,
          "call": "Overblog\\GraphQLBundle\\Controller\\GraphController::processNormalQuery()"
        },
        {
          "file": "/app/vendor/overblog/graphql-bundle/src/Controller/GraphController.php",
          "line": 64,
          "call": "Overblog\\GraphQLBundle\\Controller\\GraphController::processQuery()"
        },
        {
          "file": "/app/vendor/overblog/graphql-bundle/src/Controller/GraphController.php",
          "line": 42,
          "call": "Overblog\\GraphQLBundle\\Controller\\GraphController::createResponse()"
        },
        {
          "file": "/app/vendor/symfony/http-kernel/HttpKernel.php",
          "line": 152,
          "call": "Overblog\\GraphQLBundle\\Controller\\GraphController::endpointAction()"
        },
        {
          "file": "/app/vendor/symfony/http-kernel/HttpKernel.php",
          "line": 74,
          "call": "Symfony\\Component\\HttpKernel\\HttpKernel::handleRaw()"
        },
        {
          "file": "/app/vendor/symfony/http-kernel/Kernel.php",
          "line": 202,
          "call": "Symfony\\Component\\HttpKernel\\HttpKernel::handle()"
        },
        {
          "file": "/app/public/index.php",
          "line": 25,
          "call": "Symfony\\Component\\HttpKernel\\Kernel::handle()"
        }
      ]
    }
  ]
}
@sereinity sereinity added the bug Something isn't working label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant