graphql

LINQ to GraphQL: Query GraphQL with LINQ syntax

Would you like to use LINQ syntax for your GraphQL queries? In this week's episode, I talk about GraphQLinq, a LINQ to GraphQL API to compose strongly typed GraphQL queries with LINQ query syntax!

Introducing GraphQLinq - Strongly Typed GraphQL Queries with LINQ to GraphQL.

Consuming a GraphQL api in C# is straightforward with either using HttpClient directly or using a client library such as GraphQL.Client but both suffer from the same problems: The GraphQL queries do not go through any compile-time checking, and any mistake in the query isn’t discovered until you execute the query at runtime. For example, to query SpaceX GraphQL API for all missions where the manufacturer is Orbital ATK you need to run the following query: