We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b17281 commit f4b1b5aCopy full SHA for f4b1b5a
src/HotChocolate/Core/src/Types.Shared/BuiltInTypes.cs
@@ -28,7 +28,8 @@ public static class BuiltInTypes
28
WellKnownDirectives.Deprecated,
29
WellKnownDirectives.Defer,
30
WellKnownDirectives.Stream,
31
- WellKnownDirectives.SpecifiedBy
+ WellKnownDirectives.SpecifiedBy,
32
+ WellKnownDirectives.OneOf
33
];
34
35
public static bool IsBuiltInType(string name)
src/HotChocolate/Core/src/Types.Shared/WellKnownDirectives.cs
@@ -9,4 +9,5 @@ internal static class WellKnownDirectives
9
public const string Deprecated = "deprecated";
10
public const string SpecifiedBy = "specifiedBy";
11
public const string DeprecationReasonArgument = "reason";
12
+ public const string OneOf = "oneOf";
13
}
0 commit comments