Introspection adds an extra space to map properties in enums in prisma.schema #8479
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
good first issue
Always wanted to get involved in an open source project but don’t know where to begin? Welcome!
kind/bug
A reported bug.
team/schema
Issue for team Schema.
topic: introspection
Milestone
Bug description
For some reason, introspection messes up indentations of enums. A single space is added and maintained during introspection. Map properties for tables don't get an extra space. While it's a minor issue, it's a bit annoying because the space gets removed by the formatter and added back by Prisma on every edit/introspection and the changes get added to commits.
How to reproduce
Expected behavior
I would like it if the introspection wouldn't mess with formatting
Prisma information
Example:
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: