hotchocolate-examples
kandi X-RAY | hotchocolate-examples Summary
kandi X-RAY | hotchocolate-examples Summary
hotchocolate-examples
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hotchocolate-examples
hotchocolate-examples Key Features
hotchocolate-examples Examples and Code Snippets
Community Discussions
Trending Discussions on hotchocolate-examples
QUESTION
edit 00: NOTE: This message is coming from the GraphiQL interface. When I tried the same query in the 'Banana Cake Pop' UI, no message is returned when I execute this query.
While trying to create a GraphQL subscription on an ASP.NET web server, using Hot Chocolate, with exactly the same code found in this tutorial, I am receiving error feedback from the server.
Error Message
...ANSWER
Answered 2020-Sep-04 at 16:15The question topic error message only shows up in GraphiQL
TL;DR: I resolved this issue by using a .Net Core 3.0 Console Application, instead of a ASP.NET Web Application Project Type.
Even though GraphiQL is the only editor which returns the above message, the problem remains regardless of how you try to consume the subscription. It just lacks an error message in other editors.
There must be some sort of background configuration I am not aware of (I am fairly new to C#/.NET). I was running the example star wars project files in a .NET Core Console Application, and an ASP.NET Web Application. They had the same files, correct name spacing, successful build, mutations and queries working in both projects.
But only the console project allows subscriptions.
I don't truly know how to resolve this issue except to start your root project as a .NET Core 3.0 Console Application, should someone else know I would love to have a better understanding of what this issue really is.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hotchocolate-examples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page