GraphQl dataStructure refactored

This commit is contained in:
Michael Shabanov committed 2020-02-23 23:27:12 +03:00
1 parent 95443d2996
commit 6c2104f6d7
8 files changed
+35 -154

No files matched your search

+6 -5
View File
@@ -5,9 +5,10 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using WotBlitzStatistics.GraphQl.ObjectTypes;
using WotBlitzStatistics.GraphQl.Query;
using WotBlitzStatisticsPro.Common.Model;
using WotBlitzStatisticsPro.WgApiClient;
using WotBlitzStatisticsPro.WgApiClient.Model;
namespace WotBlitzStatistics.GraphQl
{
@@ -40,10 +41,10 @@ namespace WotBlitzStatistics.GraphQl
.AddQueryType<WotBlitzStatisticsQuery>()
//.AddMutationType<MutationType>()
//.AddSubscriptionType<SubscriptionType>()
.AddType<PlayerAccountInfo>()
.AddType<PlayerAchievementInfo>()
.AddType<PlayerTankInfo>()
.AddEnumType<MarkOfMastery>()
.AddType<PlayerAccountInfoObjectType>()
.AddType<AccountStatistics>()
.AddType<AccountFullStatistics>()
//.AddEnumType<MarkOfMastery>()
.Create());
}