Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Support DMMF.Field['type'] #41

Open
yujonglee opened this issue Dec 23, 2021 · 0 comments
Open

Support DMMF.Field['type'] #41

yujonglee opened this issue Dec 23, 2021 · 0 comments
Labels
🥺 feature request Request a new feature

Comments

@yujonglee
Copy link
Member

yujonglee commented Dec 23, 2021

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.

@yujonglee yujonglee added the 🥺 feature request Request a new feature label Dec 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🥺 feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

1 participant