pub fn validate(
file: SourceFile,
connectors: ConnectorRegistry<'_>
) -> ValidatedSchema
Expand description
The most general API for dealing with Prisma schemas. It accumulates what analysis and validation information it can, and returns it along with any error and warning diagnostics.