You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When registering some types, I get the following exception:
at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at HotChocolate.Types.FieldInitHelper.CompleteFields[TTypeDef,TFieldType,TFieldDef](ICompletionContext context, TTypeDef definition, IReadOnlyCollection1 fields) in C:\hc\src\Core\Types\Types\Helpers\FieldInitHelper.cs:line 54 at HotChocolate.Types.TypeSystemObjectBase1.CompleteType(ICompletionContext context) in C:\hc\src\Core\Types\Types\TypeSystemObjectBase~1.cs:line 89
at HotChocolate.Configuration.TypeInitializer.b__43_0(RegisteredType registeredType) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 435
at HotChocolate.Configuration.TypeInitializer.CompleteTypes(TypeDependencyKind kind, Func2 action) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 454 at HotChocolate.Configuration.TypeInitializer.CompleteTypes() in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 438 at HotChocolate.Configuration.TypeInitializer.Initialize(Func1 schemaResolver) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 109
at HotChocolate.SchemaBuilder.InitializeTypes(IServiceProvider services, IDescriptorContext descriptorContext, IBindingLookup bindingLookup, IEnumerable1 types, Func1 schemaResolver) in C:\hc\src\Core\Types\SchemaBuilder.Create.cs:line 184
at HotChocolate.SchemaBuilder.Create() in C:\hc\src\Core\Types\SchemaBuilder.Create.cs:line 36
Describe the bug
When registering some types, I get the following exception:
at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at HotChocolate.Types.FieldInitHelper.CompleteFields[TTypeDef,TFieldType,TFieldDef](ICompletionContext context, TTypeDef definition, IReadOnlyCollection
1 fields) in C:\hc\src\Core\Types\Types\Helpers\FieldInitHelper.cs:line 54 at HotChocolate.Types.TypeSystemObjectBase
1.CompleteType(ICompletionContext context) in C:\hc\src\Core\Types\Types\TypeSystemObjectBase~1.cs:line 89at HotChocolate.Configuration.TypeInitializer.b__43_0(RegisteredType registeredType) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 435
at HotChocolate.Configuration.TypeInitializer.CompleteTypes(TypeDependencyKind kind, Func
2 action) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 454 at HotChocolate.Configuration.TypeInitializer.CompleteTypes() in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 438 at HotChocolate.Configuration.TypeInitializer.Initialize(Func
1 schemaResolver) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 109at HotChocolate.SchemaBuilder.InitializeTypes(IServiceProvider services, IDescriptorContext descriptorContext, IBindingLookup bindingLookup, IEnumerable
1 types, Func
1 schemaResolver) in C:\hc\src\Core\Types\SchemaBuilder.Create.cs:line 184at HotChocolate.SchemaBuilder.Create() in C:\hc\src\Core\Types\SchemaBuilder.Create.cs:line 36
ObjectTypeUtil.txt
To Reproduce
Steps to reproduce the behavior:
the ObjectTypeUtils use reflection to create ObjectType from given Type t
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Additional context
Asp.net core
The text was updated successfully, but these errors were encountered: