Skip to content

Commit 6687596

Browse files
authored
Merge pull request #511 from mcasper/documentation-domain-update
Update (and fix) the domain for graphql specification links
2 parents daec918 + 2a47143 commit 6687596

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Github issue to discuss!
189189

190190
I would like to investigate generating helpers to make pagination simpler
191191
for Connections (based on the
192-
[Relay Cursor Connections Specification](https://facebook.github.io/relay/graphql/connections.htm)).
192+
[Relay Cursor Connections Specification](https://relay.dev/graphql/connections.htm)).
193193
If you have ideas on this chime in on [this thread](https://github.com/dillonkearns/elm-graphql/issues/29).
194194

195195
See [the full roadmap on Trello](https://trello.com/b/BCIWtZeL/dillonkearns-elm-graphql).

generator/src/Graphql/Generator/Decoder.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ generateEncoder_ context forInputObject (Type.TypeReference referrableType isNul
135135
MyDebug.crash "I don't expect to see object references as argument types."
136136

137137
Type.InterfaceRef interfaceName ->
138-
MyDebug.crash "Interfaces are never valid inputs http://facebook.github.io/graphql/October2016/#sec-Interfaces"
138+
MyDebug.crash "Interfaces are never valid inputs https://spec.graphql.org/October2016/#sec-Interfaces"
139139

140140
Type.UnionRef _ ->
141-
MyDebug.crash "Unions are never valid inputs http://facebook.github.io/graphql/October2016/#sec-Unions"
141+
MyDebug.crash "Unions are never valid inputs https://spec.graphql.org/October2016/#sec-Unions"
142142

143143
Type.EnumRef enumName ->
144144
interpolate ("(Encode.enum {0})" ++ isNullableString)

src/Graphql/Http/GraphqlError.elm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ constraint that the schema doesn't specify, or 2) when your generated code is
1919
out of date with the schema.
2020
2121
See the
22-
[Errors section in the GraphQL spec](http://facebook.github.io/graphql/October2016/#sec-Errors)
22+
[Errors section in the GraphQL spec](https://spec.graphql.org/October2016/#sec-Errors)
2323
for more details about GraphQL errors.
2424
2525
-}
@@ -31,11 +31,11 @@ type alias GraphqlError =
3131

3232

3333
{-| Represents the `data` field in cases where there is an error present, see
34-
[the error section in the GraphQL spec](http://facebook.github.io/graphql/October2016/#sec-Data).
34+
[the error section in the GraphQL spec](https://spec.graphql.org/October2016/#sec-Data)
3535
If the decoder succeeds you will end up with `ParsedData`. If it fails, you
3636
will get an `UnparsedData` with a `Json.Decode.Value` containing the raw, undecoded
3737
`data` field. You're likely to end up with `UnparsedData` since
38-
[GraphQL will return `null` if there is an error on a non-nullable field](http://facebook.github.io/graphql/October2016/#sec-Errors-and-Non-Nullability)
38+
[GraphQL will return `null` if there is an error on a non-nullable field](https://spec.graphql.org/October2016/#sec-Errors-and-Non-Nullability)
3939
, which will cause the decode pipeline to fail and give you `UnparsedData`.
4040
-}
4141
type PossiblyParsedData parsed

src/Graphql/OptionalArgument.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ An optional argument can be either present, absent, or null, so using a Maybe do
4343
fully capture the GraphQL concept of an optional argument. For example, you could have
4444
a mutation that deletes an entry if a null argument is provided, or does nothing if
4545
the argument is absent. See
46-
[The official GraphQL spec section on null](http://facebook.github.io/graphql/October2016/#sec-Null-Value)
46+
[The official GraphQL spec section on null](https://spec.graphql.org/October2016/#sec-Null-Value)
4747
for details.
4848
4949
-}

0 commit comments

Comments
 (0)