2019-11-22 22:07:31 +00:00
|
|
|
|
using System;
|
2019-11-24 21:02:14 +00:00
|
|
|
|
using Elsa.Server.GraphQL.Types.Scalars.Json;
|
2019-11-22 22:07:31 +00:00
|
|
|
|
using GraphQL.Types;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Elsa.Server.GraphQL
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ElsaSchema : Schema
|
|
|
|
|
|
{
|
|
|
|
|
|
public ElsaSchema(ElsaQuery query, ElsaMutation mutation, IServiceProvider serviceProvider) : base(serviceProvider)
|
|
|
|
|
|
{
|
|
|
|
|
|
Query = query;
|
|
|
|
|
|
Mutation = mutation;
|
2019-11-24 14:25:16 +00:00
|
|
|
|
|
|
|
|
|
|
RegisterValueConverter(new JsonAstValueConverter());
|
2019-11-22 22:07:31 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|