ChilliCream / ChilliCream/graphql-platform

Would it be better to add the "global::" prefix in "src/HotChocolate/Core/src/Types.Analyzers/WellKnownTypes.cs"?

Open
#10,375 2 comments 0 reactions 1 assignee View on GitHub

@michaelstaib is already working on this.

Since Sep 9, 2026.

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

Description

Product

Hot Chocolate

Is your feature request related to a problem?

Would it be better to add the "global::" prefix in "src/HotChocolate/Core/src/Types.Analyzers/WellKnownTypes.cs"?

The solution you'd like
    public const string SystemObject = "global::System.Object";
    public const string ObjectType = "global::HotChocolate.Types.ObjectType";
    public const string InterfaceType = "global::HotChocolate.Types.InterfaceType";
    public const string UnionType = "global::HotChocolate.Types.UnionType";
    public const string InputObjectType = "global::HotChocolate.Types.InputObjectType";
    ...

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.