Closed styxpilled closed 1 year ago
@styxpilled @codemaster138 can you try using rev = "a0fb19d25d6869c6398a338e5228d80c81a8c354"
and see if it fixes the problem? It's not a complete nice fix but it should get the job done for now.
@Brendonovich yeah, that seems to have fixed the issue. Thanks for handling this so quickly!
When using a prisma enum, the generated rust code includes an E0412 error. Prisma enum example:
The generated rust enum in
_prisma > read_filters
gives acannot find type ThingKind in this scope not found in this scope rustc(E0412)
error.Adding
use crate::prisma::ObjectKind;
above the rust enum, per the compiler suggestion, fixes the issue.