dillonkearns/elm-graphql/4.2.1

NOTE: the latest version is 5.0.12

Graphql.Internal.Builder.Argument

WARNING Graphql.Interal modules are used by the @dillonkearns/elm-graphql command line code generator tool. They should not be consumed through hand-written code.

Internal functions for use by auto-generated code from the @dillonkearns/elm-graphql CLI.

= Argument String Value

Argument type.

optional : String -> OptionalArgument a -> (a -> Value) -> Maybe Argument

Used for passing optional arguments in generated code.

required : String -> a -> (a -> Value) -> Argument

Used for passing required arguments in generated code.