Example #1
0
 public QueryRootType(GraphQLSchema schema) : base("Root", "")
 {
     schema.AddKnownType(this);
     schema.Query(this);
 }
Example #2
0
 public TestSubscriptionType(string name, GraphQLSchema schema) : base(name, null, new InMemoryEventBus())
 {
     schema.AddKnownType(this);
 }
Example #3
0
 public TestMutationType(string name, GraphQLSchema schema) : base(name, null)
 {
     schema.AddKnownType(this);
 }
Example #4
0
 public TestCustomScalarType(GraphQLSchema schema) : base("Odd", null)
 {
     schema.AddKnownType(this);
 }
Example #5
0
 public TestInterfaceType(string name, GraphQLSchema schema) : base(name, null)
 {
     schema.AddKnownType(this);
 }
Example #6
0
 public TestInputObjectType(string name, GraphQLSchema schema) : base(name, null)
 {
     schema.AddKnownType(this);
 }