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
leandroluk opened this issue Jun 24, 2024 · 0 comments
Open

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

leandroluk opened this issue Jun 24, 2024 · 0 comments

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant