Magic introspection naming #1705
Labels
domain/schema
Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc.
kind/feature
A request for a new feature.
topic: introspection
topic: introspection-configuration
Milestone
If you introspect a TypeORM or Sequelize (or most other ORMs) schema, you more often than not end up with a schema like so:
The entities in TypeORM are called
User
andPost
, so for a user coming from these libraries, the naming now is not what they are used to and also goes against the default conventions we have with Prisma.Optimally we would instead perform heuristics that introduce a couple of
@map
's that transform the schema like so:We should take into account the naming conventions of various popular frameworks (non-exhaustive):
The text was updated successfully, but these errors were encountered: