You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prettier plugin modifies our schema to add new reverse relationships.
To Reproduce
Table A adds a relationship on table B.
Expected behavior
Nothing.
Experienced behavior
Table B gets a relationship added back to Table A.
Additional context
I get that this is useful in some cases, but a prettier plugin shouldn't be making those decisions for us. Furthermore, the reverse relationship that gets added isn't consistent in terms of casing/style with our other ones.
In our case, we don't want that reverse relationship adding because we don't have indexes on it so it would be an inefficient query.
The text was updated successfully, but these errors were encountered:
rik-iso
changed the title
Should not modify schema to add new relations
Should not modify schema to add new relationships
Sep 27, 2023
Describe the bug
This prettier plugin modifies our schema to add new reverse relationships.
To Reproduce
Table A adds a relationship on table B.
Expected behavior
Nothing.
Experienced behavior
Table B gets a relationship added back to Table A.
Additional context
I get that this is useful in some cases, but a prettier plugin shouldn't be making those decisions for us. Furthermore, the reverse relationship that gets added isn't consistent in terms of casing/style with our other ones.
In our case, we don't want that reverse relationship adding because we don't have indexes on it so it would be an inefficient query.
The text was updated successfully, but these errors were encountered: