Skip to content

Commit ed46e5a

Browse files
authored
update links to GraphQL specification
User newer and more consistent links. GitHub-Pull-Request: #113
1 parent 3e04114 commit ed46e5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graphql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (c *Client) do(ctx context.Context, op operationType, v any, variables map[
104104
// errors represents the "errors" array in a response from a GraphQL server.
105105
// If returned via error interface, the slice is expected to contain at least 1 element.
106106
//
107-
// Specification: https://facebook.github.io/graphql/#sec-Errors.
107+
// Specification: https://spec.graphql.org/October2021/#sec-Errors.
108108
type errors []struct {
109109
Message string
110110
Locations []struct {

query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func queryArguments(variables map[string]any) string {
4646
writeArgumentType(&buf, reflect.TypeOf(variables[k]), true)
4747
// Don't insert a comma here.
4848
// Commas in GraphQL are insignificant, and we want minified output.
49-
// See https://facebook.github.io/graphql/October2016/#sec-Insignificant-Commas.
49+
// See https://spec.graphql.org/October2021/#sec-Insignificant-Commas.
5050
}
5151
return buf.String()
5252
}

0 commit comments

Comments
 (0)