Skip to content

Commit

Permalink
update links to GraphQL specification
Browse files Browse the repository at this point in the history
User newer and more consistent links.

GitHub-Pull-Request: #113
  • Loading branch information
alexandear authored Jul 22, 2023
1 parent 3e04114 commit ed46e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (c *Client) do(ctx context.Context, op operationType, v any, variables map[
// errors represents the "errors" array in a response from a GraphQL server.
// If returned via error interface, the slice is expected to contain at least 1 element.
//
// Specification: https://facebook.github.io/graphql/#sec-Errors.
// Specification: https://spec.graphql.org/October2021/#sec-Errors.
type errors []struct {
Message string
Locations []struct {
Expand Down
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func queryArguments(variables map[string]any) string {
writeArgumentType(&buf, reflect.TypeOf(variables[k]), true)
// Don't insert a comma here.
// Commas in GraphQL are insignificant, and we want minified output.
// See https://facebook.github.io/graphql/October2016/#sec-Insignificant-Commas.
// See https://spec.graphql.org/October2021/#sec-Insignificant-Commas.
}
return buf.String()
}
Expand Down

0 comments on commit ed46e5a

Please sign in to comment.