Object & CRUD Generation
Steps:
- Prisma DMMF loaded via
getDMMF. - Input object & model operation lists cloned.
- Hidden models/fields resolved from model comments.
- Missing input object types added (legacy support) before filtering.
- Object schemas generated if
emit.objectsand not pure-only heuristics; each object pre-filtered withfilterFields. - CRUD operation schemas assembled (model args, aggregate support) if
emit.crud. - Objects index synthesized (for integration consistency).
isObjectSchemaEnabled checks model enablement + required operations + minimal mode pruning heuristics.
Aggregate result schemas produced via generateResultSchemas (if results not forcibly disabled).