Although DMMF.Field['type'] is string | DMMF.SchemaEnum | DMMF.OutputType | DMMF.SchemaArg, we always assume that type is string. We need some testcase for DMMF.SchemaEnum | DMMF.OutputType | DMMF.SchemaArg, and support it.
Search if (typeof type !== 'string') (or as string) in this repository for actual code.
Although
DMMF.Field['type']
isstring | DMMF.SchemaEnum | DMMF.OutputType | DMMF.SchemaArg
, we always assume that type is string. We need some testcase forDMMF.SchemaEnum | DMMF.OutputType | DMMF.SchemaArg
, and support it.Search
if (typeof type !== 'string')
(oras string
) in this repository for actual code.