GraphQL Apps should always return 200, even when there are errors. That is because a resolver might have failed but others might have been completed successfully so there will be data in the response. The 400 is reserved for graphql parsing errors.
This line here is causing tartiflette-asgi to return 400 if errors is populated. Removing it should bring the expected behavior.
Is there any reason why this convention is not followed?
GraphQL Apps should always return 200, even when there are errors. That is because a resolver might have failed but others might have been completed successfully so there will be data in the response. The 400 is reserved for graphql parsing errors.
This line here is causing tartiflette-asgi to return 400 if errors is populated. Removing it should bring the expected behavior.
Is there any reason why this convention is not followed?