Skip to content
GraphQL execution library with SignalR based server and ApolloLink implementation
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks/graphql.benchmarks Add some helpers for importing introspected schema from link (#154) Apr 4, 2019
dev build(deps-dev): bump @types/node in /dev/graphql.dev.chat.ui Apr 23, 2019
docs Faster benchmark execution for PRs (#124) Mar 16, 2019
src build(deps-dev): bump rollup in /src/graphql.server.link Apr 23, 2019
tests build(deps): bump Newtonsoft.Json from 12.0.1 to 12.0.2 Apr 22, 2019
.gitattributes 1.0.0-alpha Jul 22, 2018
.gitignore ignore *.saved.bak Jan 28, 2019
Directory.Build.props Solution Settings (#153) Apr 2, 2019
GitVersion.yml Change gitversion mode (#46) Feb 20, 2019
LICENSE
README.md Remote executable schemas (#139) Apr 2, 2019
azure-pipelines.yml
build.cake SignalR connection needs to be created per execution (#157) Apr 6, 2019
global.json Upgrade to 2.2 RTM Dec 27, 2018
tanka-docs.yaml Docs #1 Jan 20, 2019
tanka-graphql.sln
tanka-graphql.sln.DotSettings Remote executable schemas (#139) Apr 2, 2019

README.md

Tanka GraphQL library

Build Status

Features

  • Execute queries, mutations and subscriptions
  • Validation (new implementation in v0.3.0)
  • SignalR hub for streaming queries, mutations and subscriptions
  • ApolloLink for the provided SignalR hub

Feeds

Beta

Release

Install

dotnet add tanka.graphql
dotnet add tanka.graphql.server

npm install @tanka/tanka-graphql-server-link

Sample

See Sample

Develop

Run the dev harness

This repo includes a sample application which is used for testing and development of the SignalR client and the server.

Open the tanka-graphql.sln and start the graphql.dev.chat.web project. This will start a simple chat server using the tanka.graphql.server.

Start the client by following instructions below:

# Install dependencies
src\graphql.server.link> yarn install

# Link the server-link
src\graphql.server.link> yarn link

# Watch for source changes and recompile the link
src\graphql.server.link> yarn watch

# Install dependencies
dev\graphql.dev.chat.ui> yarn install

# Use the linked server-link
dev\graphql.dev.chat.ui> yarn link @tanka/tanka-graphql-server-link

# Watch for source changes and recompile the sample
dev\graphql.dev.chat.ui> yarn start

Run benchmarks

src\graphql.benchmarks> dotnet run --configuration release --framework netcoreapp22
You can’t perform that action at this time.