function
NonNull
Construct a required generated mutation value that must not encode as JSON null.
Arguments
| Argument | Type | Description |
|---|---|---|
value | T | The value value. |
Returns
The declared result.
NonNullInput[T]Full signature
func NonNull[T any](value T) NonNullInput[T]Related types
NonNullInputA write-only generated mutation value that refuses to encode JSON null.