Is it intended that any enums in the Prisma schema file are ignored if they aren’t part of a model? It’d be nice to be able to have them regardless of whether or not they’re being used by a model.
r
Ryan
11/04/2020, 8:01 AM
@Aaron Fulkerson 👋
I tried it on a Postgres DB and they are introspected event if not used in any table.
a
Aaron Fulkerson
11/04/2020, 9:36 PM
@Ryan maybe they’re introspected but they’re not exported by @prisma/client
r
Ryan
11/05/2020, 7:48 AM
@Aaron Fulkerson Yes you’re right I can reproduce this. Could you explain your use case of having enums in the types that aren’t used?