@Target(value=PARAMETER) @Retention(value=RUNTIME) @Documented public @interface LocalContextValue
local
GraphQLContext
.
To bind to an attribute from the main context instead, see
@ContextValue
.
ContextValue
public abstract boolean required
Defaults to "true", leading to an exception thrown if the value is
missing. Switch to "false" if you prefer null
if the value is
not present, or use Optional
.