ChilliCream / ChilliCream/graphql-platform

Allow to suppress Hot Chocolate specific error codes

Open
#5,483 2 comments 1 reaction 1 assignee View on GitHub

@glen-84 is already working on this.

Since Jul 1, 2024.

🌶️ hot chocolate Area: Security Next YouTube
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

Description

Is your feature request related to a problem?

I'm just mirroring a request I saw on Slack here

Hot Chocolate adds additional error codes in the extensions of GraphQL errors, for example "HC0014" for syntax validation errors.
As an attacker I could send an invalid request and know that the GraphQL server I'm targeting is using Hot Chocolate, because of the custom error code I would receive.

The solution you'd like

Add a switch that allows to hide these HC specific error codes.

Product

Hot Chocolate

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.