Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"type": "Review",
"field": "_stars",
"responseName": "_stars",
"specifiedBy": "http://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "Review",
"field": "_stars",
"responseName": "_stars",
"specifiedBy": "http://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,16 @@ public async Task ValidationError2(string? acceptHeader, HttpTransportVersion tr
@"subfields are disallowed."",""locations"":[{""line"":1,""column"":3}]," +
@"""extensions"":{""declaringType"":""Query"",""field"":""__type""," +
@"""type"":""__Type"",""responseName"":""__type""," +
@"""specifiedBy"":""http://spec.graphql.org/October2021/#sec-Field-Selections-" +
@"""specifiedBy"":""https://spec.graphql.org/October2021/#sec-Field-Selections-" +
@"on-Objects-Interfaces-and-Unions-Types""}},{""message"":""The field `name" +
@"` does not exist on the type `Query`."",""locations"":[{" +
@"""line"":1,""column"":10}],""extensions"":{""type"":""Query""," +
@"""field"":""name"",""responseName"":""name"",""specifiedBy"":" +
@"""http://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-" +
@"""https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-" +
@"Interfaces-and-Unions-Types""}},{""message"":""The argument `name` " +
@"is required."",""locations"":[{""line"":1,""column"":3}],""extensions"":{" +
@"""type"":""Query"",""field"":""__type"",""argument"":""name""," +
@"""specifiedBy"":""http://spec.graphql.org/October2021/#sec-Required-Arguments""" +
@"""specifiedBy"":""https://spec.graphql.org/October2021/#sec-Required-Arguments""" +
"}}]}");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"type": "Review",
"field": "_stars",
"responseName": "_stars",
"specifiedBy": "http://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "Review",
"field": "_stars",
"responseName": "_stars",
"specifiedBy": "http://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-Field-Selections-on-Objects-Interfaces-and-Unions-Types"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"extensions": {
"specifiedBy": "http://spec.graphql.org/October2021/#sec-All-Variables-Used"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-All-Variables-Used"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"extensions": {
"specifiedBy": "http://spec.graphql.org/October2021/#sec-All-Variable-Uses-Defined"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-All-Variable-Uses-Defined"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"extensions": {
"specifiedBy": "http://spec.graphql.org/October2021/#sec-All-Variables-Used"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-All-Variables-Used"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"extensions": {
"specifiedBy": "http://spec.graphql.org/October2021/#sec-All-Variable-Uses-Defined"
"specifiedBy": "https://spec.graphql.org/October2021/#sec-All-Variable-Uses-Defined"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/HotChocolate/Core/src/Abstractions/Types/TypeKind.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public enum TypeKind
/// GraphQL document as an indicator that they should be evaluated differently by a
/// validator, executor, or client tool such as a code generator.
/// </para>
/// <para>http://spec.graphql.org/draft/#sec-Type-System.Directives</para>
/// <para>https://spec.graphql.org/draft/#sec-Type-System.Directives</para>
/// </summary>
Directive = 128
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace HotChocolate.Configuration.Validation;

/// <summary>
/// Implements directive type validation defined in the spec.
/// http://spec.graphql.org/draft/#sec-Type-System.Directives.Validation
/// https://spec.graphql.org/draft/#sec-Type-System.Directives.Validation
/// </summary>
internal sealed class DirectiveValidationRule : ISchemaValidationRule
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace HotChocolate.Configuration.Validation;

/// <summary>
/// Implements the object type validation defined in the spec.
/// http://spec.graphql.org/draft/#sec-Objects.Type-Validation
/// https://spec.graphql.org/draft/#sec-Objects.Type-Validation
/// </summary>
internal sealed class ObjectTypeValidationRule : ISchemaValidationRule
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static void EnsureInterfacesAreCorrectlyImplemented(
}
}

// http://spec.graphql.org/draft/#IsValidImplementation()
// https://spec.graphql.org/draft/#IsValidImplementation()
private static void ValidateImplementation(
IComplexOutputType type,
IInterfaceType implementedType,
Expand Down Expand Up @@ -235,7 +235,7 @@ private static bool IsFullyImplementingInterface(
return true;
}

// http://spec.graphql.org/draft/#IsValidImplementationFieldType()
// https://spec.graphql.org/draft/#IsValidImplementationFieldType()
private static bool IsValidImplementationFieldType(
IOutputType fieldType,
IOutputType implementedType)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static ISchemaErrorBuilder SpecifiedBy(
{
errorBuilder.SetExtension(
"specifiedBy",
"http://spec.graphql.org/October2021/#" + section);
"https://spec.graphql.org/October2021/#" + section);
}

return errorBuilder;
Expand Down
4 changes: 2 additions & 2 deletions src/HotChocolate/Core/src/Types/Types/DirectiveLocation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public enum DirectiveLocation
/// </summary>
InputFieldDefinition = 0x20000,

// see: http://spec.graphql.org/draft/#ExecutableDirectiveLocation
// see: https://spec.graphql.org/draft/#ExecutableDirectiveLocation
Executable =
Query |
Mutation |
Expand All @@ -117,7 +117,7 @@ public enum DirectiveLocation
InlineFragment |
VariableDefinition,

// see: http://spec.graphql.org/draft/#TypeSystemDirectiveLocation
// see: https://spec.graphql.org/draft/#TypeSystemDirectiveLocation
TypeSystem =
Schema |
Scalar |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace HotChocolate.Types;
/// GraphQL document as an indicator that they should be evaluated differently by a
/// validator, executor, or client tool such as a code generator.
///
/// http://spec.graphql.org/draft/#sec-Type-System.Directives
/// https://spec.graphql.org/draft/#sec-Type-System.Directives
/// </summary>
public partial class DirectiveType
{
Expand Down
2 changes: 1 addition & 1 deletion src/HotChocolate/Core/src/Types/Types/DirectiveType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace HotChocolate.Types;
/// GraphQL document as an indicator that they should be evaluated differently by a
/// validator, executor, or client tool such as a code generator.
/// </para>
/// <para>http://spec.graphql.org/draft/#sec-Type-System.Directives</para>
/// <para>https://spec.graphql.org/draft/#sec-Type-System.Directives</para>
/// </summary>
public partial class DirectiveType
: TypeSystemObjectBase<DirectiveTypeDefinition>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static IErrorBuilder SpecifiedBy(
{
errorBuilder.SetExtension(
"specifiedBy",
"http://spec.graphql.org/draft/#" + section);
"https://spec.graphql.org/draft/#" + section);

if (rfc.HasValue)
{
Expand All @@ -27,7 +27,7 @@ public static IErrorBuilder SpecifiedBy(
{
errorBuilder.SetExtension(
"specifiedBy",
"http://spec.graphql.org/October2021/#" + section);
"https://spec.graphql.org/October2021/#" + section);
}

return errorBuilder;
Expand Down
Loading