JuergenGutsch / blog

Personal blog about web development based on .NET and .NET Core
https://asp.net-hacker.rocks/
Other
31 stars 17 forks source link

GraphQL end-point Middleware for ASP.NET Core #79

Open JuergenGutsch opened 5 years ago

JuergenGutsch commented 5 years ago

Written on 22.06.2017 08:48:39

URL: http://asp.net-hacker.rocks/2017/06/22/graphql-middleware-for-aspnetcore.html

JuergenGutsch commented 5 years ago

Comment written by jbliss12345678 on 10.07.2017 02:04:35

Do you know why any of the examples on the internet using graphql.net ( including yours) do not show anything about mutations?

JuergenGutsch commented 5 years ago

Comment written by Ozi Traveller on 10.07.2017 02:59:31

I've read both of your articles so far, looking really good! It would be great to have an example postman or curl to test with.

JuergenGutsch commented 5 years ago

Comment written by Jürgen Gutsch on 10.07.2017 07:56:08

Glad you like it :)
I'll definitly do some examples, but it takes some time

JuergenGutsch commented 5 years ago

Comment written by Jürgen Gutsch on 10.07.2017 08:07:58

I think it is just because of complexity. It's much more to write about. http://graphql.org/learn/qu...
I'll write about mutations, if I find some time. But I only write in my spare time between job and family :)

JuergenGutsch commented 5 years ago

Comment written by jbliss12345678 on 13.07.2017 04:15:56

However, do you think it's even possible for the graphql.net library to support mutations? It is just very weird that there is not a single example on the entire internet on how to do a mutation with graphql.net and EF Core

JuergenGutsch commented 5 years ago

Comment written by Jürgen Gutsch on 13.07.2017 05:23:33

Mutation is possible using this library: https://github.com/graphql-...
Unfortunatly the documentation isn't complete. But you are able to find some tests about it.

JuergenGutsch commented 5 years ago

Comment written by Joe McBride on 14.07.2017 02:07:52

I updated the documentation to include a simpler mutation, as well as adding an example to the StarWars Schema. Hope that helps!

http://graphql-dotnet.githu...

JuergenGutsch commented 5 years ago

Comment written by Jürgen Gutsch on 14.07.2017 08:06:05

Great, Thanks :)