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

Missing the typename in a federated query should return a BadRequest #732

Merged
merged 2 commits into from Nov 12, 2021

Conversation

berngp
Copy link
Contributor

@berngp berngp commented Nov 12, 2021

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Changes in this PR

When a Federated Request is missing the _typename we should return an exception that can properly be matched to a client generated bad request. This is particularly relevant when the kind of error is used to identify, via metrics for example, if the error is associated with the client or internal to the server.

When a _Federated Request_ is missing the `_typename` we shouldn't
return an exception that can properly be matched to a _client generated
bad request_.
@berngp berngp merged commit 2abfb08 into master Nov 12, 2021
@berngp berngp deleted the feature/federatred-missingfederatedquery-exception branch October 20, 2022 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants