forType

fun <T : GRT> forType(ctx: ExecutionContext): Domain<T>(source)

Create a GRTDomain that maps values for the provided type T.

The GRTDomain returned by this method does not support mapping aliased fields. If support for aliased fields is needed, see forSelectionSet.