Renamed to ryan-haskell/graphql. It is published under that name, and new versions come out there.
Versions published as ryannhg/graphql still install under that name. 4 versions of 4 come from the new location (see their notes).
Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/ryan-haskell/graphql.
What we checked: The repo moved to github.com/ryan-haskell/graphql. Rebuilt with git archive from commit 94c58c7b566b of https://github.com/ryan-haskell/graphql (zip prefix ryannhg-graphql-71944fc/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 17617384f65dd8b6b98a141a08288b4ae53c8ec3.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/ryannhg/graphql/zipball/1.1.0/
Using the GraphQL.Decode.scalar and GraphQL.Encode.scalar functions, you can define
Elm modules like this one in your own codebase for any custom scalars you need.
Because the ID scalar is built-in to the GraphQL specification, we provide this one for
you by default. Your custom scalars will also include a decoder / encode function so they
are easy to reuse across your application!
Use a String value to create a new ID:
import GraphQL.Scalar.Id exposing (Id)
id : Id
id =
GraphQL.Scalar.Id.fromString "12a4bf"Use a Int value to create a new ID:
import GraphQL.Scalar.Id exposing (Id)
id : Id
id =
GraphQL.Scalar.Id.fromInt 123
Represents a GraphQL
IDscalar value.