Skip to content

Conversation

@sungam3r
Copy link
Member

Not ideal solution.

See DocumentExecuter.ExecuteAsync:

Cannot execute request if no query is specified

In general, we do not know why this or that error occurred and the client or server is to blame for this. Some cases can be handled on the server side without ever passing control inside GraphQL.NET. For example, this one is just to check the query string for null but in general it is impossible to predict all situations. What code should be returned? Obviously not 500.

@sungam3r sungam3r requested a review from Shane32 January 15, 2021 16:58
@Shane32
Copy link
Member

Shane32 commented Nov 6, 2021

The changes here should be reviewed in light of #581 and tests should be added

@sungam3r sungam3r added the duplicate his issue or pull request already exists label Nov 18, 2021
@sungam3r
Copy link
Member Author

Closed in favor of #584 .

@sungam3r sungam3r closed this Nov 18, 2021
@sungam3r sungam3r deleted the http-400 branch November 18, 2021 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate his issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants