ChilliCream/graphql-platform

HotChocolate.Types.Analyzers generates invalid namespace in HotChocolateTypeModule.735550c.g.cs

Healios opened this issue · 0 comments

Product

Hot Chocolate / HotChocolate.Types.Analyzers

Version

14.1.0

Link to minimal reproduction

https://github.com/Healios/hotchocolate-namespace-error

Steps to reproduce

  1. Download the minimal reproduction project
  2. Build it

What is expected?

The project should build without errors, and the generated namespace should be:

public static partial class CRM_APITypesRequestExecutorBuilderExtensions

What is actually happening?

The project is unable to build because of an invalid namespace. In this case the incorrect namespace is:

public static partial class CRM-APITypesRequestExecutorBuilderExtensions