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
I try to see the Michael's video and run the corresponding example.
When I run the example (in VS2022) I have:
info: Microsoft.Hosting.Lifetime[14]
Now listening on: https://localhost:20477/
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:20478/
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: D:\MyProjects4\GraphQL\hotchocolate-examples-master\misc\RestIntegration\GraphQLService\
fail: Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
HotChocolate.SchemaException: For more details look at the `Errors` property.
1. Unable to resolve dependencies None: variable, None: http for type `Book`. (HotChocolate.Types.ObjectTypeExtension)
2. Unable to resolve dependencies None: variable, None: http for type `Book`. (HotChocolate.Types.ObjectType<RestIntegration.Book>)
at HotChocolate.Configuration.TypeInitializer.EnsureNoErrors()
at HotChocolate.Configuration.TypeInitializer.CompleteTypes()
at HotChocolate.Configuration.TypeInitializer.Initialize()
at HotChocolate.SchemaBuilder.Setup.InitializeTypes(SchemaBuilder builder, IDescriptorContext context, IReadOnlyList`1 types)
at HotChocolate.SchemaBuilder.Setup.Create(SchemaBuilder builder, LazySchema lazySchema, IDescriptorContext context)
at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaAsync(String schemaName, RequestExecutorSetup options, RequestExecutorOptions executorOptions, IServiceProvider serviceProvider, TypeModuleChangeMonitor typeModuleChangeMonitor, CancellationToken cancellationToken)
at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaServicesAsync(String schemaName, RequestExecutorSetup options, CancellationToken cancellationToken)
at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorNoLockAsync(String schemaName, CancellationToken cancellationToken)
at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorAsync(String schemaName, CancellationToken cancellationToken)
at HotChocolate.AspNetCore.Warmup.ExecutorWarmupService.ExecuteAsync(CancellationToken stoppingToken)
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
Where am I wrong? How to run the example?
The text was updated successfully, but these errors were encountered:
ZedZipDev
changed the title
The RestIntegration sample cannot be not run
The RestIntegration sample cannot be run
Jan 20, 2023
I try to see the Michael's video and run the corresponding example.
When I run the example (in VS2022) I have:
Where am I wrong? How to run the example?
The text was updated successfully, but these errors were encountered: