The No Bullsh*t guide to GraphQL in .Net Core Part 3

When last we met, we saw how to create a basic API in GraphQL and advance it a bit to do some fun stuff. For those fun and informative lessons check out Part 1 and Part 2.

More Advanced Queries

GraphQL has some really cool querying features. Consider the following query:

customer(id:1)
{
name
id
}
customer(id:2)
{
name
id
}

What we’d hope to see is two customer information packets. Instead we only get the first one.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Larry Schoeneman

Larry Schoeneman

182 Followers

Software developer, technical leader, agile evangelist and all around technical pain in the ass.