ArgDecoder
gql.ArgDecoder
A combination of an argument declaration ArgParam and a decoder function for ArgParam. This structure is more specialized than just decoding with Arg, since you will have access to field specific information such as if the argument was provided explicitly or the default was used.
The trivial implementation of an ArgDecoder given an ArgValue:
val av: ArgValue[A] = ???
ArgDecoder[A, A](av, _.value.asRight)
Attributes
- Source
- Arg.scala
- Graph
-
- Supertypes
Members list
In this article