sangria.schema.Args
See theArgs companion object
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Retrieve a mandatory (non-optional) argument. If an optional argument without a default is specified an IllegalArgumentException will be thrown
Retrieve a mandatory (non-optional) argument. If an optional argument without a default is specified an IllegalArgumentException will be thrown
Value parameters
- name
-
the name of the argument
Attributes
- Returns
-
the argument value
- Throws
-
IllegalArgumentException
when an optional argument without a default is specified
Retrieve an optional argument. If a non-optional argument is specified an error will be thrown
Retrieve an optional argument. If a non-optional argument is specified an error will be thrown
Value parameters
- name
-
the name of the argument
Attributes
- Returns
-
An Option containing the argument if present, or None if absent
In this article