All Projects β†’ bkniffler β†’ Graphql Net Client

bkniffler / Graphql Net Client

Licence: mit
Very simple GraphQL client for .NET/C#

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Graphql Net Client

Nuxt Graphql Request
Easy Minimal GraphQL client integration with Nuxt.js.
Stars: ✭ 85 (-3.41%)
Mutual labels:  graphql
React Dashboard
πŸ”₯React Dashboard - isomorphic admin dashboard template (React.js, Bootstrap, Node.js, GraphQL, React Router, Babel, Webpack, Browsersync) πŸ”₯
Stars: ✭ 1,268 (+1340.91%)
Mutual labels:  graphql
Graphql To Json Schema
GraphQL Schema to JSON Schema
Stars: ✭ 87 (-1.14%)
Mutual labels:  graphql
Preact Redux Isomorphic
preact-redux-isomorphic PWA SPA SSR best practices and libraries in under 80kB page size (for live demo click the link below)
Stars: ✭ 85 (-3.41%)
Mutual labels:  graphql
Accounts
Fullstack authentication and accounts-management for Javascript.
Stars: ✭ 1,266 (+1338.64%)
Mutual labels:  graphql
Dgraphql
DgraphQL: Build a GraphQL service from a schema
Stars: ✭ 86 (-2.27%)
Mutual labels:  graphql
Graphql Example
An example code structure for a GraphQL-powered mobile app. Contains client and server code.
Stars: ✭ 83 (-5.68%)
Mutual labels:  graphql
Sapper Graphql Firebase
Svelte + Sapper + GraphQL + Firebase Auth
Stars: ✭ 88 (+0%)
Mutual labels:  graphql
Chaskiq
A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp, etc ...
Stars: ✭ 1,263 (+1335.23%)
Mutual labels:  graphql
Ariadne
Ariadne is a Python library for implementing GraphQL servers using schema-first approach.
Stars: ✭ 1,274 (+1347.73%)
Mutual labels:  graphql
Graphjin
GraphJin - Build APIs in 5 minutes with GraphQL. An instant GraphQL to SQL compiler.
Stars: ✭ 1,264 (+1336.36%)
Mutual labels:  graphql
Typeorm Loader
A database-aware data-loader for use with GraphQL and TypeORM.
Stars: ✭ 86 (-2.27%)
Mutual labels:  graphql
This Or That
This or that - Real-time atomic voting app built with AWS Amplify
Stars: ✭ 87 (-1.14%)
Mutual labels:  graphql
Boilerplate Vue Apollo Graphql Mongodb
Start your magical stack journey!
Stars: ✭ 85 (-3.41%)
Mutual labels:  graphql
Apollo
Meteor & Apollo integration
Stars: ✭ 87 (-1.14%)
Mutual labels:  graphql
Sapper Typescript Graphql Template
A template that includes Sapper for Svelte, TypeScript preprocessing, and a GraphQL server through TypeGraphQL
Stars: ✭ 84 (-4.55%)
Mutual labels:  graphql
Review Waiting List Bot
Make your team's review great again! ✨ It's a Slack bot to list up review waiting list.
Stars: ✭ 86 (-2.27%)
Mutual labels:  graphql
Apollo Link Webworker
Apollo link that lets you use graphql client-side only, with a webworker as a "server" supporting normal queries and subscriptions
Stars: ✭ 88 (+0%)
Mutual labels:  graphql
Thunder
⚑️ A Go framework for rapidly building powerful graphql services
Stars: ✭ 1,281 (+1355.68%)
Mutual labels:  graphql
Mayoor
Modern Order Management System - fullstack app built using Typescript, GraphQL, React, Prisma2
Stars: ✭ 87 (-1.14%)
Mutual labels:  graphql

graphql-net-client

Very simple GraphQL client for .NET/C#. Requires JSON.NET!

Typed result

class GqlObj
{
    public string name { get; set; }
    public string id { get; set; }
}

var client = new GraphQLClient("https://mygraphql.endpoint");
var query = @"
    query($id: String) { 
        someObject(id: $id) {
            id
            name
        }
    }
";
var obj = client.Query(query, new { id = "123" }).Get<GqlObj>("someObject");
if (obj != null)
{
    Console.WriteLine(obj.name);
}
else
{
    Console.WriteLine("Null :(");
}

Dynamic result

var client = new GraphQLClient("https://mygraphql.endpoint");
var query = @"
    query($id: String) { 
        someObject(id: $id) {
            id
            name
        }
    }
";
var obj = client.Query(query, new { id = "123" }).Get("someObject");
if (obj != null)
{
    Console.WriteLine((string)obj.name);
}
else
{
    Console.WriteLine("Null :(");
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].