Recently started implementing GraphQL in .net core 3.1 project. Initially began with GraphQL.NET, which defaults the endpoint to https://localhost:44330/graphql. I eventually removed it and decided to go with Hot Chocolate, which defaults the endpoint to simply https://localhost:44330. I've scoured the internet looking for answers, but have failed so far. How can I configure the endpoint to be (ex:) https://localhost:44330/newname? I am thinking it can be done somewhere in app.UseGraphQL(), but I haven't found anything. Any help would be great.
Ok, I found the setting I completely overlooked: UseGraphQL has two overloads and the first one is "PathString path".
app.UseGraphQL("/newname")
Hope this at least helps another