Does anyone know why I get `Error: Unknown type "D...
# orm-help
c
Does anyone know why I get
Error: Unknown type "DateTime".
and many other similar errors when I use the Prisma javascript-client generator in the prisma.yml, but I don't have that issue when I use the graphql-schema?
This seems to be a feature of
graphql-import
, which I am desperately trying to avoid using - it grabs missing type from a referenced graphql file. In my case:
Copy code
# import * from './generated/prisma.graphql'
Are there any other libraries that do this sort of merge? It seems to ignore the duplicates
g
I don't remember if it's case sensitive but did you try to write de type in lower cases?
c
It was working before I moved away from the graphql-schema approach, so not likely a case sensitivity issue