How to resovle exeption HotChocolate.SchemaException: 'Unable to create instance of type ``.' GraphQl-Hotchocolate

asp.net-core entity-framework-core graphql hotchocolate

Question

I am new to Hotchocolate GraphQL framework and trying to create small solution just to see and understand how it works and what are the capabilities of the framework. I don't quite understand how to use this framework with EF core DbContext and how to register the dependencies in startup.cs class.

If anyone had the same problem or can explain how to do this in proper way, it will be great and thanks in advance.

Check out the code

GRaphQL-Hotchocolate framework throwing an exeption when trying to create schema. Exeption Image

1
1
9/30/2019 5:12:39 PM

Accepted Answer

there were quite a view issues...

I have fixed them and the project runs now: https://github.com/haris-begluk/Graphql-Hotchocolate-proj/pull/1

playground runs under http://localhost:[port]/graphql/playground.

Have fun with this.

0
10/2/2019 10:00:57 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow