-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(datamodel): move all relation reformatting logic to reformat.rs
This makes it explicitly a private concern of the reformatter that the rest of the code does not need to worry about. As a side effect, we do not allocate anymore for potentially inferred fields in validations, and some validations as well as lifting gets simpler. closes prisma/prisma#13742 as a side effect
- Loading branch information
Showing
9 changed files
with
179 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.