MrLeebo/prisma-ast

Schema Builder API

MrLeebo opened this issue · 0 comments

It would be nice to have a schema builder interface to chain multiple edits together, something like

createSchemaBuilder()
  .addModel("Project", fields)
  .addEnum("Role", enumerators)
  .print()