Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New type system #1063

Merged
merged 26 commits into from
Feb 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove generator tests
pekkah committed Feb 14, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 2d1bb7211a8675b9267d8675e9852ba61edd9086
17 changes: 9 additions & 8 deletions benchmarks/graphql.benchmarks/Utils.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using Tanka.GraphQL.Language;
using Tanka.GraphQL.Language.Nodes;
using Tanka.GraphQL.TypeSystem;
using Tanka.GraphQL.ValueResolution;
@@ -11,7 +12,7 @@ public static Task<ISchema> InitializeSchema()
{
var events = new SingleValueEventChannel();
var builder = new SchemaBuilder()
.Add(Parser.ParseTypeSystemDocument(
.Add(
@"
type Query {
simple: String
@@ -30,7 +31,7 @@ type Subscription {
mutation: Mutation
subscription: Subscription
}
"));
");

var resolvers = new ResolversMap
{
@@ -63,25 +64,25 @@ type Subscription {

public static ExecutableDocument InitializeQuery()
{
return Parser.ParseDocument(@"
return @"
{
simple
}");
}";
}

public static ExecutableDocument InitializeMutation()
{
return Parser.ParseDocument(@"
return @"
mutation {
simple
}");
}";
}

public static ExecutableDocument InitializeSubscription()
{
return Parser.ParseDocument(@"
return @"
subscription {
simple
}");
}";
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions tests/graphql.generator.integration.tests/Model/Schema.graphql

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.