mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Do not enforce cost limits when debugging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Frozen;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
@@ -301,7 +301,12 @@ namespace Tgstation.Server.Host.Core
|
||||
options.EnsureAllNodesCanBeResolved = true;
|
||||
options.EnableFlagEnums = true;
|
||||
})
|
||||
#if DEBUG
|
||||
.ModifyCostOptions(options =>
|
||||
{
|
||||
options.EnforceCostLimits = false;
|
||||
})
|
||||
#endif
|
||||
.AddMutationConventions()
|
||||
.AddGlobalObjectIdentification()
|
||||
.AddQueryFieldToMutationPayloads()
|
||||
|
||||
Reference in New Issue
Block a user