Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable or choose the order of notes for each field #1773

Open
Tracked by #24227
leandroluk opened this issue Jun 24, 2024 · 0 comments
Open
Tracked by #24227

Disable or choose the order of notes for each field #1773

leandroluk opened this issue Jun 24, 2024 · 0 comments
Labels
domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: formatting

Comments

@leandroluk
Copy link

Problem

I like being able to declare the name of reflected fields from the Prisma schema in the database, even for fields where the name is the same, to standardize the way my team builds Prisma schemas. The problem is that when using the prism extension for VSCode I can't order the annotations that define the field in the database and I wanted to somehow always leave "@Map()" as the first property.

Suggested solution

Create a configuration in the extension that allows the ordering of possible annotations or that disables the reordering of annotations

@Druue Druue added kind/feature A request for a new feature. topic: formatting domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: formatting
Projects
None yet
Development

No branches or pull requests

2 participants